docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RiderTestRunner

    Is called by Rider Unity plugin via reflections

    Inheritance
    object
    RiderTestRunner
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)