Features
Superior Unit Testing
With JustMock, you can test objects and behaviors in an isolated and controlled environment. You don’t have to rely on the availability of external resources like databases, web services, or proprietary code to perform your tests. This means that you can start testing your application immediately and cover more testing scenarios in less time.
Faster development times
The product will also allow you to detect bugs and errors earlier in your project’s life cycle and reduce the time needed for QA. This will significantly reduce your time to market and give you a head start.
Arrange, Act, Assert
JustMock embraces the Arrange, Act, Assert (AAA) pattern for creating unit test mockings. This simple pattern makes it easy for developers to quickly and naturally mock objects in unit tests. Mocking is as simple as configuring what should be mocked (Arrange), calling methods of properties of the object (Act), and checking the results of action against expected values (Assert).
Unobtrusive Mocking
JustMock is POCO-friendly. You don’t have to add any additional code to your classes or methods to make them mockable. You can directly reference them in the mock object, regardless of implementation. Just mock it.
Unlimited Capabilities
JustMock does not impose any restrictions on what you can mock. You can fake objects like non-virtual methods, sealed classes and static methods and classes, features often not available in free mocking frameworks. The tool also supports mocking all classes and methods included in the MSCORLIB assembly, like DateTime, FileInfo, etc.
Error-free Mocking
JustMock guarantees an error-free mocking experience throughout the testing process thanks to its strongly typed framework API. JustMock detects errors in your mock definitions and highlights them in Visual Studio. JustMock’s API also fully leverages Visual Studio IntelliSense to make it easy to start mocking.
Easy deployment
Mocking interfaces or virtual and abstract methods with JustMock is as easy as referencing a single assembly. For these basic scenarios, JustMock does not rely on code profiling and can be used by simply referencing the JustMock assembly, a much simpler option than many other mocking frameworks provide. For advanced scenarios, such as mocking static or sealed classes, we provide the necessary Visual Studio integration tools for setting up JustMock and enabling powerful code analysis.