using System.Collections.Generic; using System.Threading.Tasks; using UnityEditor.TestTools.TestRunner.Api; namespace MCPForUnity.Editor.Services { /// /// Provides access to Unity Test Runner data and execution. /// public interface ITestRunnerService { /// /// Retrieve the list of tests for the requested mode(s). /// When is null, tests for both EditMode and PlayMode are returned. /// Task>> GetTestsAsync(TestMode? mode); /// /// Execute tests for the supplied mode. /// Task RunTestsAsync(TestMode mode); } }