Class RiderTestRunner
Is called by Rider Unity plugin via reflections
Inherited Members
Namespace: Packages.Rider.Editor.UnitTesting
Assembly: Unity.Rider.Editor.dll
Syntax
[UsedImplicitly]
public static class RiderTestRunner
Methods
RunTests(int, string[], string[], string[], string[], int?)
Is called by Rider Unity plugin via reflections
Declaration
[UsedImplicitly]
public static void RunTests(int testMode, string[] assemblyNames, string[] testNames, string[] categoryNames, string[] groupNames, int? buildTarget)
Parameters
Type | Name | Description |
---|---|---|
int | testMode | The mode in which the tests are run (e.g., normal, debug). |
string[] | assemblyNames | An array of assembly names containing the tests to execute. |
string[] | testNames | An array of specific test names to be executed. |
string[] | categoryNames | An array of category names to filter the tests. |
string[] | groupNames | An array of group names for organizing the tests. |
int? | buildTarget | The build target for which the tests are executed (nullable). |
RunTestsWithSyncCallbacks(string, int, string[], string[], string[], string[], int?, string, string, string[])
Is called by Rider Unity plugin via reflections
Declaration
[UsedImplicitly]
public static void RunTestsWithSyncCallbacks(string sessionId, int testMode, string[] assemblyNames, string[] testNames, string[] categoryNames, string[] groupNames, int? buildTarget, string callbacksHandlerCodeBase, string callbacksHandlerTypeName, string[] callbacksHandlerDependencies)
Parameters
Type | Name | Description |
---|---|---|
string | sessionId | The session ID for the test run. |
int | testMode | The mode in which the tests will be run. |
string[] | assemblyNames | An array of assembly names to be included in the test run. |
string[] | testNames | An array of test names to be executed. |
string[] | categoryNames | An array of category names to filter the tests. |
string[] | groupNames | An array of group names for grouping tests. |
int? | buildTarget | The build target for which the tests will be run. |
string | callbacksHandlerCodeBase | The codebase of the callback handler. |
string | callbacksHandlerTypeName | The type name of the callback handler. |
string[] | callbacksHandlerDependencies | An array of callback handler dependencies. |