SmartTests NuGet Package

SmartTests enables you to write Smarter unit tests, wether you use NUnit, Xunit or MSTests.

It is best to install SmartTests.Analyzer and SmartTests.Extension so that missing tests will be displayed.

They are Smart in the sense that:
1.

The Act line of your test is instantly identifiable.
2. You express your Act logical intent and the optional Analyzer will display all missing tests.
3. You can use smarter assertions than the ones provided by usual Testing Frameworks as Smart Tests knows what is your Act and when it is run.
a. You ensure that a PropertyChanged event is raised with only one line of code.
b.

You ensure that any event is raised with only one line of code.
c. You ensure that an object didn't changed at all with only one line of code.
d. You ensure that your property set is effective by checking its value after is not equal to its value before with only one line of code.
e. You show each effect of your Act code relatively to its previous value with only one line of code.




Got any SmartTests Question?





Info

Version: 1.13.0
Author(s): Ludovic Dubois
Last Update: Friday, January 7, 2022
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/LudovicDubois/SmartTests
NuGet Url: https://www.nuget.org/packages/SmartTests


Install
Install-Package SmartTests
dotnet add package SmartTests
paket add SmartTests
SmartTests Download (Unzip the "nupkg" after downloading)

1 package depend on this package.


Tags



STATS

must-have-score

.3

avg-downloads-per-day

3

days-since-last-release

1080