C# (CSharp) Xunit Namespace

Nested Namespaces

Xunit.Combinatorial
Xunit.Extensions
Xunit.Internal
Xunit.PropertyStubs
Xunit.Reporting
Xunit.Runner
Xunit.Sdk
Xunit.SkippableFact
Xunit.Specs

Classes

Name Description
Assert
AssertException A specialized Sdk.AssertException which filters out all unnecessary StackTrace information from the original exception. This is done in order to strip the StackTrace parts from the message which shows methods inside the BDDExtensions class.
ConcernAttribute
ConfigReader_Json This class is used to read configuration information for a test assembly.
ConfigReader_Json.Configuration
ControllerActionInvokerBuilderExtensions
DefaultBehaviorConfig Helper base class for implementing IBehaviorConfig.
DelegatingLongRunningTestDetectionSink A delegating implementation of IExecutionSink which detects and reports when tests have become long-running (during otherwise idle time).
DiaSession
DiaSessionWrapper
DiaSessionWrapperHelper
ExecutorWrapper Wraps calls to the Executor. Used by runners to perform version-resilient test enumeration and execution.
ExecutorWrapper.IntCallbackHandler THIS CLASS IS FOR INTERNAL USE ONLY.
ExecutorWrapper.IntCallbackHandlerWithICallbackEventHandler THIS CLASS IS FOR INTERNAL USE ONLY.
ExecutorWrapper.IntCallbackHandlerWithIMessageSink
ExecutorWrapper.OutgoingMessage
ExecutorWrapper.OutgoingMessage123 THIS CLASS IS FOR INTERNAL USE ONLY.
ExecutorWrapper.XmlNodeCallbackHandler
ExecutorWrapper.XmlNodeCallbackHandlerWithICallbackEventHandler THIS CLASS IS FOR INTERNAL USE ONLY.
ExecutorWrapper.XmlNodeCallbackHandlerWithIMessageSink
FactAttribute
ObservationAttribute
ObservationAttributeBase A specialized FactAttribute for integrating the class templates used in xUnit.BDDExtensions with xUnit.net. The whole purpose of this attribute (besides readability) is to decorate the original ITestCommand recieved from xUnit.net with a SpecificationCommand from xUnit.BDDExtensions.
PairwiseDataAttribute Provides a test method decorated with a TheoryAttribute with arguments to run various combination of values for the parameters taken by the test method using a pairwise strategy.
PairwiseStrategy PairwiseStrategy creates test cases by combining the parameter data so that all possible pairs of data items are used.
PairwiseStrategy.FeatureInfo FeatureInfo represents coverage of a single value of test function parameter, represented as a pair of indices, Dimension and Feature. In terms of unit testing, Dimension is the index of the test parameter and Feature is the index of the supplied value in that parameter's list of sources.
PairwiseStrategy.FeatureTuple A FeatureTuple represents a combination of features, one per test parameter, which should be covered by a test case. In the PairwiseStrategy, we are only trying to cover pairs of features, so the tuples actually may contain only single feature or pair of features, but the algorithm itself works with triplets, quadruples and so on.
PairwiseStrategy.FleaRand FleaRand is a pseudo-random number generator developed by Bob Jenkins: http://burtleburtle.net/bob/rand/talksmall.html#flea
PairwiseStrategy.PairwiseTestCaseGenerator PairwiseTestCaseGenerator class implements an algorithm which generates a set of test cases which covers all pairs of possible values of test function.
PairwiseStrategy.TestCaseInfo TestCase represents a single test case covering a list of features.
PrivateErrorHelpers Common utility methods used by the various error detection and reporting classes.
Record
Skip Static methods for dynamically skipping tests identified with the SkippableFactAttribute.
SkipException The exception to throw to register a skipped test.
SkippableFactAttribute
SkippableTheoryAttribute
SpecificationCommand A ITestCommand decorator which invokes methods on the specification class before and after the real test method executes. This requires the specification class to implement ISpecification.
TestControllerActionInvoker
TypeInfoExtensions Extension methods for the Type class to emulate older reflection APIs.
ValuesUtilities Utility methods for generating values for test parameters.
XunitFrontController Default implementation of IFrontController which supports running tests from both xUnit.net v1 and v2.