Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal exceptions hang the runner #651

Open
kubukoz opened this issue Apr 19, 2023 · 1 comment
Open

Fatal exceptions hang the runner #651

kubukoz opened this issue Apr 19, 2023 · 1 comment

Comments

@kubukoz
Copy link
Member

kubukoz commented Apr 19, 2023

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

@eugkhp
Copy link

eugkhp commented Nov 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants