Changed
New
- Provide a mechanism for capturing arguments passed to Fakes (#1950):
var capturedMessage = A.Captured<string>(); var logger = A.Fake<IListLogger>(); A.CallTo(() => logger.Log(capturedMessage._, An<IEnumerable<int>>._)).DoesNothing(); var calculator = new Calculator(logger); calculator.Add([1, 2, 3, 4]); calculator.Square(7); capturedMessage.Values.Should().Equal("about to add", "about to square");
Fixed
- Argument matchers trigger even if the rule they're part of has already fired the maximum number of times (#1975)
Additional Items
- Upgrade StyleCop (#1979)
- Suppress NU1902,NU1903 in tests, recipes (#1981)
- Include README in NuGet package (#1980)
With special thanks for contributions to this release from:
- Søren Palmund - @Miista