Class ExecutionSettings
A set of execution settings defining how to run tests, using the TestRunnerApi.
상속된 멤버
네임스페이스: UnityEditor.TestTools.TestRunner.Api
어셈블리: solution.dll
구문
[Serializable]
public class ExecutionSettings : ISerializationCallbackReceiver
생성자
이름 | 설명 |
---|---|
ExecutionSettings(params Filter[]) | Creates an instance with a given set of filters, if any. |
필드
이름 | 설명 |
---|---|
customRunnerName | |
filters | A collection of Filter to execute tests on. |
overloadTestRunSettings | An instance of ITestRunSettings to set up before running tests on a Player. |
playerHeartbeatTimeout | The time, in seconds, the editor should wait for heartbeats after starting a test run on a player. This defaults to 10 minutes. |
runSynchronously | Note that this is only supported for EditMode tests, and that tests which take multiple frames (i.e. [UnityTest] tests, or tests with [UnitySetUp] or [UnityTearDown] scaffolding) will be filtered out. |
프로퍼티
이름 | 설명 |
---|---|
IsBuildOnly | |
playerSavePath | |
targetPlatform | The BuildTarget platform to run the test on. If set to null, then the Editor is the target for the tests. |
메서드
이름 | 설명 |
---|---|
OnAfterDeserialize() | Implement this method to receive a callback after Unity deserializes your object. |
OnBeforeSerialize() | Implement this method to receive a callback before Unity serializes your object. |
ToString() | Implementation of ToString() that builds a string composed of the execution settings. |