Home / 8.1.0
Name Modified Size InfoDownloads / Week
Parent folder
FakeItEasy.8.1.0.nupkg 2024-01-05 779.6 kB
FakeItEasy.Extensions.ValueTask.8.1.0.nupkg 2024-01-05 45.4 kB
8.1.0 source code.tar.gz 2024-01-04 371.9 kB
8.1.0 source code.zip 2024-01-04 627.7 kB
README.md 2024-01-04 856 Bytes
Totals: 5 Items   1.8 MB 0

Changed

New

  • Provide a mechanism for capturing arguments passed to Fakes (#1950): ```c# 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
Source: README.md, updated 2024-01-04