I would like to test that a component of mine throws an exception for certain conditions during Awake(). When I use the Unity Test Tools Test Component, though, the test fails because of the exception, even though “Expect exception” and “Succeed when exception is thrown” are both checked. The test passes when I throw the same exception in Start, though.
Am I testing wrong? or perhaps implementing bad design? I can’t find documentation on the Test Component to say anything about not catching exceptions thrown during Awake().
Does anybody have any idea why this might be?