using System.Collections; using NUnit.Framework.Interfaces; namespace UnityEngine.TestTools { /// /// When implemented by an attribute, this interface implemented to provide actions to execute before setup and after teardown of tests. /// public interface IOuterUnityTestAction { /// Executed before each test is run /// The test that is going to be run. IEnumerator BeforeTest(ITest test); /// Executed after each test is run /// The test that has just been run. IEnumerator AfterTest(ITest test); } }