Releases: insight-architectures/dotnet-testing-utils
Releases · insight-architectures/dotnet-testing-utils
Version 1.5.0
Version 1.4.0
Grpc
- Added test double for IServerStreamWriter #8
Version 1.3.0
Grpc
- Added convenience methods for creating test streaming calls #7
Version 1.2.0
Added InsightArchitectures.Testing.Grpc
with utilities for mocking calls to GRPC clients.
Version 1.1.0
InsightArchitectures.Testing.NUnitConstraints
- new constraint:
PropertyConstraint<T>
- new fluent syntax to apply constraints to properties of composite type
See #4 for more information and examples
Version 1.0.0
First release
InsightArchitectures.Testing.MoqMatchers.NUnit
gives the possibility to use NUnit asserts when validating parameters in a Moq verification statement.
Mock.Get(service).Verify(p => p.Echo(Parameter.Is<string>().That(Does.StartWith("hello"))));
InsightArchitectures.Testing.NUnitConstraints
offers a NUnit constraint that wraps multiple constraints into a single check.
Assert.That("Hello world", Meets.All
(
Does.StartWith("hello").IgnoreCase,
Does.EndWith("world").IgnoreCase
));