Skip to content

v2.0.1

Choose a tag to compare

@chunty chunty released this 14 May 16:16
· 2 commits to master since this release

Breaking changes from v2.0.0

Namespace split — update your using directives

using TaskTurnstile.Testing is no longer sufficient. Use the framework-specific namespace:

// Moq / AutoMocker
using TaskTurnstile.Testing.Moq;

// NSubstitute
using TaskTurnstile.Testing.NSubstitute;

Bug fixes

  • Fix ArgumentException when using object keys with Moq extensions — Returns<string,...> callbacks were left over from v1.x and failed when a non-string key was passed. Fixed to Returns<object,...>.
  • Fix CS0012 compiler error — resolved by splitting into separate namespaces so consumers only bring the mocking framework they use into scope.

v2.0.0 has critical bugs — please upgrade to v2.0.1.