using System; using System.Collections.Generic; using Unity.Pipeline.Models; namespace Unity.Pipeline { /// /// Response for test execution commands, containing summary and detailed results /// [Serializable] class TestExecutionResponse : CommandExecutionResponse { /// Aggregate pass/fail/skip counts for the run. public TestSummary Summary { get; set; } /// Per-test results. public List Results { get; set; } /// Total run duration, in seconds. public double Duration { get; set; } /// Path to poll for status when the run was started in async mode. public string StatusPath { get; set; } // For async mode /// Which suite was run: EditMode, PlayMode, or All. public string Mode { get; set; } // EditMode, PlayMode, or All /// The test filter that was applied, if any. public string FilterApplied { get; set; } // What filter was used, if any /// Create an empty response with initialized collections. public TestExecutionResponse() { Results = new List(); Summary = new TestSummary(); } } }