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. /// Enumerable collection of actions to perform before test setup. IEnumerator BeforeTest(ITest test); /// Executed after each test is run /// The test that has just been run. /// Enumerable collection of actions to perform after test teardown. IEnumerator AfterTest(ITest test); } }