Skip to content

Releases: cwinland/FastMoq

2.28.3

18 Oct 16:58
Compare
Choose a tag to compare

Add IOptions default value

Full Changelog: 2.28.2...2.28.3

2.28.2

17 Oct 12:43
Compare
Choose a tag to compare

Fix interface substitution logic.

Full Changelog: 2.28.1...2.28.2

2.28.1

16 Oct 16:50
Compare
Choose a tag to compare

Update package references for vulnerabilities.
Update logic for finding types
Remove support for .NET 7.
Full Changelog: 2.27.6...2.28.1

2.27.6

01 Aug 13:09
Compare
Choose a tag to compare

Expand AddType - Any data type, not require function, METADATA to let the test determine the object to substitute: 30bde3a
Add additional VerifyLogger extensions: 9e301c9
Add Instance data to AddProperties: aa754da

Full Changelog: 2.27.5...2.27.6

2.27.5

29 Jul 18:23
Compare
Choose a tag to compare

Add VerifyLogger methods for easier ILogger verifications

27 Jun 16:45
Compare
Choose a tag to compare
  • Add VerifyLogger methods for easier ILogger verifications. Can verify exceptions, messages for ILogger or ILogger.

Mocks.GetMock<ILogger>().CheckLogger(LogLevel.Information, "Started.");

Full Changelog: 2.27.3...2.27.4

2.27.3

13 Jun 20:30
Compare
Choose a tag to compare

Add Mocks.MockOptional to allow mocking optional parameters
Create observable exception log object

Full Changelog: 2.27.2...2.27.3

2.27.2

30 May 13:31
Compare
Choose a tag to compare

Remove CallMethod return value restriction.
Add void version of CallMethod
bug fix: Duplicate key when multiple parameters had the same parameter type.

Full Changelog: 2.27.1...2.27.2

2.27.1

29 May 13:28
Compare
Choose a tag to compare

Bug Fix: CallMethod return actual exception instead of wrapped exception.

Full Changelog: 2.27.0...2.27.1

2.27.0

28 May 17:06
Compare
Choose a tag to compare
  • Help File Update
  • Better error messages for ambiguous exception.
  • Conditionally include versioning of System.IO.Abstractions / Testable
    NOTE:
    .NET 6 uses System.IO.Abstractions.TestingHelpers version 17.2.3
    .NET 7 uses TestableIO.System.IO.Abstractions.TestingHelpers version 19.2.91 (Abstractions namespace move)
    .NET 8 uses TestableIO.System.IO.Abstractions.TestingHelpers version >= 21.0.2

Full Changelog: 2.26.0...2.27.0