Search Unity

Question Unity Test Tools and Coroutines

Discussion in 'Testing & Automation' started by imp2405, Nov 26, 2014.

  1. imp2405

    imp2405

    Joined:
    Nov 26, 2014
    Posts:
    1
    Hi,

    I'm currently having some issues using the Unity Test Tools (with NUnit framework) while checking my unit tests for my functions.

    The tests are expecting exceptions, and the functions are coroutines. What happens when running the test is that in the console output I see the expected errors yet the test in the Unit Test Runner window fails.

    Is there a way to fix this? Like telling the test runner to check a specific coroutine for exceptions?