Init
This commit is contained in:
39
Prefab.Tests/Constants.cs
Normal file
39
Prefab.Tests/Constants.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
namespace Prefab.Tests;
|
||||
|
||||
/// <summary>
|
||||
/// Available trait names that can be used for Xunit's [Trait] attribute.
|
||||
/// </summary>
|
||||
public class TraitName
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to give a test a type of category, usually Unit, or Integration. See <see cref="TraitCategory"/>.
|
||||
/// </summary>
|
||||
public const string Category = nameof(Category);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Available category values that can be used when specifying a test with a category trait.
|
||||
/// </summary>
|
||||
public class TraitCategory
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates that the type of test is a unit test.
|
||||
/// </summary>
|
||||
public const string Unit = nameof(Unit);
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that the type of test is an integration test.
|
||||
/// </summary>
|
||||
public const string Integration = nameof(Integration);
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that the type of test is a workflow test.
|
||||
/// </summary>
|
||||
public const string Workflow = nameof(Workflow);
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that the type of test is an end-to-end test.
|
||||
/// </summary>
|
||||
public const string E2E = nameof(E2E);
|
||||
public const string EndToEnd = nameof(EndToEnd);
|
||||
}
|
||||
Reference in New Issue
Block a user