graemef.com

Home

❯

Posts

❯

Framework switcheroo

Framework switcheroo

17 Feb 20111 min read

  • dotnet
  • mocking
  • tdd

Following on from my mocking framework comparison, I changed Twiddler (my pet Twitter client project) from Moq to NSubstitute, and from xUnit.net’s built-in Asserts to Should.Fluent, and I think both changes greatly improved readability of my tests.

Full diffs are here for comparison:

  • Moq → NSubstitute
  • xUnit.net Assert → Should.Fluent

Created with Quartz v4.5.2 © 2026

  • GitHub