Class TestData
Represents a test run configuration. This record holds information about the test run environment and the tests to be executed.
Implements
Inherited Members
Namespace: UnityEngine.TestTools
Assembly: UnityEngine.TestRunner.dll
Syntax
public record TestData : IEquatable<TestData>
Constructors
TestData(TestMode, RuntimePlatform, IEnumerable<ITest>)
Represents a test run configuration. This record holds information about the test run environment and the tests to be executed.
Declaration
public TestData(TestMode TestMode, RuntimePlatform TestPlatform, IEnumerable<ITest> TestList)
Parameters
| Type | Name | Description |
|---|---|---|
| TestMode | TestMode | The Test Mode for this test run. |
| RuntimePlatform | TestPlatform | The Test Platform for this test run. |
| IEnumerable<ITest> | TestList | The list of tests to be executed. |
Properties
TestList
The list of tests to be executed.
Declaration
public IEnumerable<ITest> TestList { get; init; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<ITest> |
TestMode
The Test Mode for this test run.
Declaration
public TestMode TestMode { get; init; }
Property Value
| Type | Description |
|---|---|
| TestMode |
TestPlatform
The Test Platform for this test run.
Declaration
public RuntimePlatform TestPlatform { get; init; }
Property Value
| Type | Description |
|---|---|
| RuntimePlatform |