helmethair-co / scalatest-junit-runner

JUnit 5 runner for Scalatest

Repository from Github https://github.comhelmethair-co/scalatest-junit-runnerRepository from Github https://github.comhelmethair-co/scalatest-junit-runner

Exception-induced RunAborted event is not reported as fail

giurim opened this issue · comments

Describe the bug
When a test fails to execute and an exception is thrown a RunAborted event is fired. It is handled by reporting to Junit that the test was "aborted" but Gradle handles aborted test as SKIPPED. We should report aborted scalatest tests (at least the ones with a throwable) as failes.

To Reproduce
Steps to reproduce the behavior:
Write a test throwing exception
Expected behavior
The test/suite should fail