mercredi 15 janvier 2020

.NET Core Integration Tests Crashing After A SIngle Failure

I have a .NET Core 3.0 project, with a integration test suite of the same. I recently sidegraded both from the .NET Framework. I'm finding that now when I run my test suite, a single unhandled exception within a test crashes the whole test suite with the following error:

The active test run was aborted. Reason: Test host process crashed : Unhandled exception.

Previously, when a test failed, the unhandled exception would be recorded as the test result. Now, it destroys the entire test run. I assume something must be wrong here and that this can't be the intended behaviour for a test suite. Anyone have any idea what might be happening?

Aucun commentaire:

Enregistrer un commentaire