A few weeks ago something important happened. I am very happy to say that JustMock Lite is now open source. You can find it on GitHub. In this post I would like to share some bits of history. JustMock was my first project at Telerik. It was created by a team of two. The managed …
Tag Archives: JustMock
Parsing “Unsafe” Method Signatures
If you’ve ever used JustMock then you should be familiar with code fragments like this one: public interface IFoo { byte Bar(int i, string s, long l); } var foo = Mock.Create<IFoo>(); Mock.Arrange(() => foo.Bar(123, “test”, 321)).Returns(5); The interesting thing in this code is in the Arrange method. Its signature is as follows: public static …
JustMock Design Choices
JustMock is a small product. It is around 10,000 lines of code. Despite its small size there are a lot of decisions that were made and many others that have to be made. In this post I would like to shed some light on our decision making process and I’ll try to answer the question …