Class TestClass<TAppFixture>
Inherited Members
Namespace: FastEndpoints.Testing
Assembly: FastEndpoints.Testing.dll
Syntax
[Obsolete("Use the TestBase<TAppFixture> class going forward. This class will be removed at the next major version jump.")]
public abstract class TestClass<TAppFixture> : TestBase<TAppFixture>, IAsyncLifetime, IFaker, IClassFixture<TAppFixture> where TAppFixture : BaseFixture
Type Parameters
Name | Description |
---|---|
TAppFixture |
Constructors
TestClass(TAppFixture, ITestOutputHelper)
Declaration
protected TestClass(TAppFixture a, ITestOutputHelper o)
Parameters
Type | Name | Description |
---|---|---|
TAppFixture | a | |
ITestOutputHelper | o |
Properties
App
app fixture that is shared among all tests of this class
Declaration
protected TAppFixture App { get; }
Property Value
Type | Description |
---|---|
TAppFixture |
Fixture
app fixture that is shared among all tests of this class
Declaration
protected TAppFixture Fixture { get; }
Property Value
Type | Description |
---|---|
TAppFixture |
Remarks
NOTE: this property will be deprecated in the future. use the App property instead.
Fx
app fixture that is shared among all tests of this class
Declaration
protected TAppFixture Fx { get; }
Property Value
Type | Description |
---|---|
TAppFixture |
Remarks
NOTE: this property will be deprecated in the future. use the App property instead.
Output
xUnit test output helper
Declaration
protected ITestOutputHelper Output { get; }
Property Value
Type | Description |
---|---|
ITestOutputHelper |
Implements
Xunit.IAsyncLifetime
Xunit.IClassFixture<TFixture>