xUnit.net is a free, open source, community-focused unit testing tool for .NET.
Release notes are available here: http://xunit.github.io/release-notes/2015-02-17.html
Release notes are available here: http://xunit.github.io/release-notes/2015-01-20.html
Release notes are available here: http://xunit.github.io/release-notes/2014-11-19.html
ThrowsAny
(allows derived types)NotEqual
(with precision for decimal and double)StrictEqual
, StrictNotEqual
(uses EqualityComparer<T>.Default
)StartsWith
, EndsWith
(for strings)Matches
, DoesNotMatch
(for regular expressions)Subset
, ProperSubset
, Superset
, ProperSuperset
(for ISet<T>
)typeof(T)
ITestCase.Arguments
MaxConcurrencyTaskScheduler
public[CollectionBehavior(CollectionBehavior.CollectionPerClass)]
IXunitDiscoverer
to IXunitTestCaseDiscoverer
TestCaseDiscovererAttribute
to XunitTestCaseDiscovererAttribute
ITestFrameworkExecutor.Run
to .RunAll
and .RunTests
ITestCaseOrderer.OrderTestCases
generic (to preserve the test case type)ITestCase.SourceInformation
settableIXunitTestCase.RunAsync
return Task<RunSummary>
instead of Task
TestFramework
(and XunitTestFramework
)TestFrameworkDiscoverer
(and XunitTestFrameworkDiscoverer
)TestFrameworkExecutor
(and XunitTestFrameworkExecutor
)XunitTestCaseExecutor
into a series of runner classes:
TestAssemblyRunner
(and XunitTestAssemblyRunner
)TestCollectionRunner
(and XunitTestCollectionRunner
)TestClassRunner
(and XunitTestClassRunner
)TestMethodRunner
(and XunitTestMethodRunner
)Thank you to the community contributors that made this release possible:
And everybody who reported feature requests and bugs!