github eranpeer/FakeIt 2.2.0

latest releases: 2.4.0, 2.3.2, 2.3.1...
2 years ago
  • BREAKING: Changed Spy() method to copy arguments instead of moving them. The goal is to be able to keep the value so they can be Verify()ed later. To forward them instead (for move-only types), you can use SpyWithoutVerify(), but then you won't be able to use Verify() on these methods #272
  • Added an ApproxEq() matcher, that match numeric values with some margin #271
  • Rewrote matcher code to be able to store a different type than the type that is checked, and to perfect-forward the value stored instead of always copying it. Fix object slicing and matching move-only types #268
  • Fixed mocking for some kind of functions (templated overloaded methods) #267

Don't miss a new FakeIt release

NewReleases is sending notifications on new releases.