Class 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 |