TestHelpers.DiffAssertions
1.0.0-CI-20240310-155204
This is a prerelease version of TestHelpers.DiffAssertions.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TestHelpers.DiffAssertions --version 1.0.0-CI-20240310-155204
NuGet\Install-Package TestHelpers.DiffAssertions -Version 1.0.0-CI-20240310-155204
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TestHelpers.DiffAssertions" Version="1.0.0-CI-20240310-155204" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TestHelpers.DiffAssertions --version 1.0.0-CI-20240310-155204
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TestHelpers.DiffAssertions, 1.0.0-CI-20240310-155204"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TestHelpers.DiffAssertions as a Cake Addin #addin nuget:?package=TestHelpers.DiffAssertions&version=1.0.0-CI-20240310-155204&prerelease // Install TestHelpers.DiffAssertions as a Cake Tool #tool nuget:?package=TestHelpers.DiffAssertions&version=1.0.0-CI-20240310-155204&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
A simple diff comparison asserter that makes it easy to assert if two texts (strings) are equal, and display the differences in a diff tool if they are not.
Simply put it is a much simpler (and dumber) version of ApprovalTests that should get the job done for simple scenarios.
You can easily create a file that contains the expected result (your specification or example) and then compare the contents of the file with the actual value that is produced during the test.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- FluentAssertions (>= 6.12.0)
- Microsoft.Extensions.Configuration.Json (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 160 | 10/13/2024 |
1.1.0-CI-20241010-143159 | 196 | 10/10/2024 |
1.0.0-CI-20241004-095626 | 76 | 10/4/2024 |
1.0.0-CI-20240310-155204 | 688 | 3/10/2024 |
1.0.0-CI-20220912-172854 | 4,332 | 9/12/2022 |
1.0.0-CI-20201023-062207 | 662 | 10/23/2020 |
1.0.0-CI-20200208-102746 | 606 | 2/8/2020 |
1.0.0-CI-20181214-111502 | 1,148 | 12/14/2018 |
1.0.0-CI-20181214-110929 | 548 | 12/14/2018 |
1.0.0-CI-20180909-092340 | 593 | 9/9/2018 |
1.0.0-CI-20180422-195654 | 658 | 4/22/2018 |
1.0.0-CI-20180222-091008 | 1,361 | 2/22/2018 |
1.0.0-CI-20180221-163706 | 696 | 2/21/2018 |