No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IOuterUnityTestAction.cs 880B

123456789101112131415161718192021
  1. using System.Collections;
  2. using NUnit.Framework.Interfaces;
  3. namespace UnityEngine.TestTools
  4. {
  5. /// <summary>
  6. /// When implemented by an attribute, this interface implemented to provide actions to execute before setup and after teardown of tests.
  7. /// </summary>
  8. public interface IOuterUnityTestAction
  9. {
  10. /// <summary>Executed before each test is run</summary>
  11. /// <param name="test">The test that is going to be run.</param>
  12. /// <returns>Enumerable collection of actions to perform before test setup.</returns>
  13. IEnumerator BeforeTest(ITest test);
  14. /// <summary>Executed after each test is run</summary>
  15. /// <param name="test">The test that has just been run.</param>
  16. /// <returns>Enumerable collection of actions to perform after test teardown.</returns>
  17. IEnumerator AfterTest(ITest test);
  18. }
  19. }