C# Class Jwc.Experiment.Xunit.TestBaseAttribute

Represents base attribute to indicate that a given method is a test method.
Inheritance: FactAttribute, ISpecimenBuilderFactory
Afficher le fichier Open project: jwChung/Experimentalism

Méthodes protégées

Méthode Description
Create ( ITestMethodContext context ) : ISpecimenBuilder

Creates a specimen builder.

EnumerateTestCommands ( IMethodInfo method ) : IEnumerable

Enumerates the test commands represented by this test method. Derived classes should override this method to return instances of T:Xunit.Sdk.ITestCommand, one per execution of a test method.

TestBaseAttribute ( ) : System

Initializes a new instance of the TestBaseAttribute class.

TestBaseAttribute ( ITestCommandFactory factory ) : System

Initializes a new instance of the TestBaseAttribute class.

Private Methods

Méthode Description
ISpecimenBuilderFactory ( ITestMethodContext context ) : ISpecimenBuilder

Method Details

Create() protected abstract méthode

Creates a specimen builder.
protected abstract Create ( ITestMethodContext context ) : ISpecimenBuilder
context ITestMethodContext /// The test information about a test method. ///
Résultat ISpecimenBuilder

EnumerateTestCommands() protected méthode

Enumerates the test commands represented by this test method. Derived classes should override this method to return instances of T:Xunit.Sdk.ITestCommand, one per execution of a test method.
protected EnumerateTestCommands ( IMethodInfo method ) : IEnumerable
method IMethodInfo /// The test method. ///
Résultat IEnumerable

TestBaseAttribute() protected méthode

Initializes a new instance of the TestBaseAttribute class.
protected TestBaseAttribute ( ) : System
Résultat System

TestBaseAttribute() protected méthode

Initializes a new instance of the TestBaseAttribute class.
protected TestBaseAttribute ( ITestCommandFactory factory ) : System
factory ITestCommandFactory /// A factory to create test commands. ///
Résultat System