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 #85

Open
zainab-ali opened this issue Nov 7, 2024 · 1 comment
Open

Fatal exceptions hang the runner #85

zainab-ali opened this issue Nov 7, 2024 · 1 comment

Comments

@zainab-ali
Copy link
Contributor

This issue was copied over from: disneystreaming/weaver-test#651
It was opened by: kubukoz


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

@zainab-ali
Copy link
Contributor Author

This comment was copied over from: disneystreaming/weaver-test#651 (comment)
It was written by: eugkhp


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

1 participant