docs.unity3d.com
    Show / Hide Table of Contents

    Class CloudTestBuilder

    Inheritance
    Object
    CloudTestBuilder
    Namespace: Unity.CloudTesting.Editor
    Syntax
    public class CloudTestBuilder

    Fields

    Client

    Declaration
    public static ICloudTestClient Client
    Field Value
    Type Description
    ICloudTestClient

    Methods

    BuildAndRunTests()

    Helper method that can be used from the command line which will create a new cloud testing build, upload it, and await test completion. If called using batch mode a non-zero exit code will be returned on test failure.

    Declaration
    public static void BuildAndRunTests()

    BuildAndRunTests(BuildTarget, String, String)

    Helper method that can be used from the command line which will create a new cloud testing build, upload it, and await test completion. If called using batch mode a non-zero exit code will be returned on test failure.

    Declaration
    public static void BuildAndRunTests(BuildTarget targetPlatform, string accessToken, string projectId)
    Parameters
    Type Name Description
    BuildTarget targetPlatform
    String accessToken
    String projectId

    CreateBuild()

    Helper method that can be used from the command line which will create a new cloud testing build, upload it, and await test completion. If called using batch mode a non-zero exit code will be returned on test failure.

    Declaration
    public static void CreateBuild()

    CreateBuild(BuildTarget)

    Generates a build that can be used for cloud device testing for a desired build target.

    Declaration
    public static void CreateBuild(BuildTarget targetPlatform)
    Parameters
    Type Name Description
    BuildTarget targetPlatform

    UploadAndRunTests()

    Helper method that can be used from the command line which will upload a provided build file then upload it to the cloud testing service and await test completion. If called using batch mode a non-zero exit code will be returned on test failure.

    Declaration
    public static void UploadAndRunTests()

    UploadAndRunTests(String, String, String)

    Helper method that can be used from the command line which will upload a provided build file then upload it to the cloud testing service and await test completion. If called using batch mode a non-zero exit code will be returned on test failure.

    Declaration
    public static void UploadAndRunTests(string uploadFile, string accessToken, string projectId)
    Parameters
    Type Name Description
    String uploadFile
    String accessToken
    String projectId
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023