weaver-test icon indicating copy to clipboard operation
weaver-test copied to clipboard

Fatal exceptions hang the runner

Open kubukoz opened this issue 2 years ago • 1 comments

Using 0.8.3, when you run this suite (or anything else that produces an exception of the "fatal" sort), it hangs the runner.

import weaver._

import cats.effect.IO

object DemoTestWeaver extends SimpleIOSuite {

  pureTest("demo") {
    throw new NoClassDefFoundError("fake exception")
  }
}

This is inconsistent with munit and scalatest's behavior, and hopefully it's something that can be fixed on weaver's side.

Related: #503

Repro project: https://github.com/kubukoz/demos/tree/sbt-weaver-hang

kubukoz avatar Apr 19 '23 13:04 kubukoz

hey! Do you need any help with this? Is it planned to be resolved, or is this intended behavior?

eugkhp avatar Nov 27 '23 19:11 eugkhp