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 | Test mode to use |
| string[] | assemblyNames | Names of assemblies containing the tests |
| string[] | testNames | Name of the tests to be run |
| string[] | categoryNames | Categories used for the test run |
| string[] | groupNames | Groups used for the test run |
| int? | buildTarget | Targeted build platform |
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 | Session ID of the Test Run |
| int | testMode | Test mode to use |
| string[] | assemblyNames | Names of assemblies containing the tests |
| string[] | testNames | Name of the tests to be run |
| string[] | categoryNames | Categories used for the test run |
| string[] | groupNames | Groups used for the test run |
| int? | buildTarget | Targeted build platform |
| string | callbacksHandlerCodeBase | Callbacks handler code to use |
| string | callbacksHandlerTypeName | Callbacks handler type name |
| string[] | callbacksHandlerDependencies | Dependecies of the callbacks handler |