Skip to content

Fluent API for asserting the results of unit tests that targets .NET Framework 4.5, 4.7, .NET Standard 1.3, 1.6 and 2.0. Supports the unit test frameworks MSTest, MSTest2, Gallio, NUnit, XUnit, MBunit, MSpec, and NSpec.

develop
Go to file
Code

Latest commit

Took me a couple of minutes to figure out the correct call, so I thought - might as well fix it in doc.
241240f

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
Src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

What is this and why do I need this?

See https://www.fluentassertions.com for background information, usage documentation, an extensibility guide, support information and more tips & tricks.

How do I build this?

Install Visual Studio 2019 or JetBrains Rider 2017.1 and Build Tools 2017 and run

What are these Approval.Tests?

This is a special set of tests that use the ApprovalTests.Net project to verify whether you've introduced any breaking changes in the public API of the library. By default, the right reporter is selected based on the run-time environment (e.g. Visual Studio diff viewer, Rider's diff viewer, etc). You can change that by setting the environment variable ApiApproval.Reporter to the (fully-qualified) name of one of the implementations of IApprovalFailureReporter.

If you've verified the changes and decided they are valid, you can accept them using AcceptApiChanges.ps1 or AcceptApiChanges.sh. See also the Contribution Guidelines..

build.ps1

About

Fluent API for asserting the results of unit tests that targets .NET Framework 4.5, 4.7, .NET Standard 1.3, 1.6 and 2.0. Supports the unit test frameworks MSTest, MSTest2, Gallio, NUnit, XUnit, MBunit, MSpec, and NSpec.

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.