Class TestScalars
Shared values for this assembly.
public static class TestScalars
- Inheritance
-
TestScalars
- Inherited Members
Fields
NetCoreRelativePathToProjectFolder
The Microsoft conventional relative path, indicating the number of directories above compiled assembly output in a modern .NET project.
public const string NetCoreRelativePathToProjectFolder = "../../../"
Field Value
Remarks
In .NET core and in modern .NET the path to compiled assembly output is:
{Project Directory}/bin/Debug/{.NET Version}
The /bin/Debug/{.NET Version}
directory is three levels below {Project Directory}.
ReasonForSkippingWhenNotDebugging
The conventional reason for skipping a test when not debugging the test
public const string ReasonForSkippingWhenNotDebugging = "This test is intended to run when a Debugger is attached."
Field Value
XunitCategory
The xunit category trait
public const string XunitCategory = "Category"
Field Value
XunitCategoryIntegrationManualTest
The xunit category integration manual test
public const string XunitCategoryIntegrationManualTest = "IntegrationManual"
Field Value
XunitCategoryIntegrationTest
The xunit category integration test
public const string XunitCategoryIntegrationTest = "Integration"
Field Value
Properties
IsNotDebugging
Returns true
when IsAttached is false
.
public static bool IsNotDebugging { get; }