Type alias GameplayTestResult
GameplayTestResult: { assertions: GameplayTestAssertion[]; consoleLogs: GameplayTestLog[]; durationMs: number; errors: string[]; eventLog: GameplayTestEvent[]; finalState: { objectCounts: { [
objectName:
string]
: integer; }; sceneName: string; sceneVariables: Object[]; watchedObjects: { [
objectName:
string]
: GameplayTestObjectSnapshot[]; }; }; framesExecuted: integer; gameTimeMs: number; loadingMs: number; performance: { avgStepMs: number; worstStepMs: number; } | null; profiles: GameplayTestProfilingResult[]; screenshots: GameplayTestScreenshot[]; status: "passed" | "failed" | "error" | "stopped" | "timeout"; testName: string; timeoutMs: number; } Type declaration
durationMs: number
errors: string[]
finalState: {
objectCounts: {
[objectName: string]: integer;
};
sceneName: string;
sceneVariables: Object[];
watchedObjects: {
[objectName: string]: GameplayTestObjectSnapshot[];
};
}
objectCounts: {
[objectName: string]: integer;
}
[objectName: string]: integer
sceneName: string
sceneVariables: Object[]
framesExecuted: integer
gameTimeMs: number
loadingMs: number
performance: {
avgStepMs: number;
worstStepMs: number;
} | null
status: "passed" | "failed" | "error" | "stopped" | "timeout"
testName: string
timeoutMs: number
Time spent waiting for the game to boot and for scene assets to load, excluded from the
timeoutMsbudget.durationMsincludes it:durationMs - loadingMsis what counted against the budget.