Release History

By product

JustMock Free 2013.31015

October 14, 2013

JustMock Q3 2013 Release Notes (v2013.3.1015)

What's new:

  • New: Obsolete APIs from last Q are removed and you may need to change your code
    • {expectation}.DoInstead (TDelegate @delegate)
    • NonPublic.Initialize(string methodName, params object[] args)
    • NonPublic.Initialize(Type targetType, string methodName, params object[] args)
    • Mock.DoNotUseProfiler()
    • Mock.Initialize<...>(...)
    • Mock.Replace(...)
    • Mock.Partial(...)
    • class MockClassAttribute
  • New: Added new behavior - Behavior.RecursiveLoose and this is the default behavior
  • New: "Create Mock" code generation command in JustCode Visual Aid
  • New: "Arrange Mock" code generation command in JustCode Visual Aid
  • New: DebugView: Inspect and trace all calls made while debugging
  • New: Future Mocking: Give access to the instance inside the delegate of a Returns clause
  • New: Improved exception messages for failing tests
  • New: Create mocks of delegate types
  • New: Mock.Raise and .Raises() raise non-mocked events
  • New: ReturnsMany - a method for returning multiple values with configurable behavior
  • New: Fluent Syntax: ArrangeLike
  • New: .When() - a generalized way for determining whether an arrangement should be considered

What's fixed:

  • Fixed: Fluent Assert ignores Occurs expectation set in Arrange
  • Fixed: Arranges from one ClassInitialize may spill over to the test methods in an unrelated class
  • Fixed: Running test with Visual Studio 2012 test runner fails if there are TestSettings attached
  • Fixed: DynamicProxy cannot work with signatures with more than about 128 arguments
  • Fixed: JustMock leaks thread objects which for large test runs eventually leads to an Out Of Memory due to leaked handles
  • Fixed: TestInitialize context not respected when the method is in a generic base class
  • Fixed: Cannot arrange the members of additionally implemented interfaces