scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

`test` does not exit when finished when using munit-cats-effect

Open davisuga opened this issue 1 year ago • 5 comments

Version(s) 1.1.0

Describe the bug scala-cli test does not exit if munit-cats-effect is being used.

To Reproduce Clone https://github.com/davisuga/testIssueRepro Run scala-cli test .

Expected behavior Exit when the test finishes

davisuga avatar Dec 11 '23 13:12 davisuga

@mpilquist any insight into the cause, or suggestion on who else we might summon?

SethTisue avatar Dec 12 '23 03:12 SethTisue

Could this be connected to https://github.com/scalameta/munit/issues/540 ?

tgodzik avatar Dec 12 '23 10:12 tgodzik

https://github.com/davisuga/testIssueRepro/blob/742d9b19b4fcab63b7b4a8ce230660584f1320c4/spec.test.scala#L1-L2

//> using test.dep "org.scalameta::munit:0.7.29"
//> using test.dep "org.typelevel::munit-cats-effect:2.0.0-M1"

These are old and actually incompatible versions. The latest are

//> using test.dep "org.scalameta::munit:1.0.0-M10"
//> using test.dep "org.typelevel::munit-cats-effect:2.0.0-M4"

If you want to use the (unsupported?) munit 0.7.x series then please use:

//> using test.dep "org.scalameta::munit:0.7.29"
//> using test.dep "org.typelevel::munit-cats-effect-3:1.0.7"

@ scala-cli maintainers: can we get eviction warnings here? @ toolkit maintainers: can we please just release munit 1.0.0?

armanbilge avatar Dec 12 '23 18:12 armanbilge

toolkit maintainers: can we please just release munit 1.0.0?

ticket: https://github.com/scalameta/munit/issues/647

scala-cli maintainers: can we get eviction warnings here?

ticket: https://github.com/VirtusLab/scala-cli/issues/1927

SethTisue avatar Dec 12 '23 21:12 SethTisue

  • https://github.com/VirtusLab/scala-cli/issues/2626

armanbilge avatar Dec 13 '23 05:12 armanbilge