xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Install
xunit from Nuget as version
U_I_E signatures are
Unit of work,
inital condition and
Assert.Contains(collection, x => x.SweetProp == "Foo");
Theory - Inline Data
Theory - Member Data
public static IEnumerable<object> FooTestData()
Shared Context between Tests
xUnit doesnt have explicit
[TearDown] annotations like NUnit, instead they say you must use a Constructor and Dispose.
public class StackTests : IDisposable
Verifies that the exact exception is thrown (and not a derived exception type). Returns the exception that was thrown, when successful.