ltlombardi / fluentassertions

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.

Home Page:https://www.fluentassertions.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://www.fluentassertions.com

License:Apache License 2.0


Languages

Language:C# 99.8%Language:PowerShell 0.1%Language:Shell 0.1%Language:Batchfile 0.0%