Open lenguyenthanh opened 1 year ago
I think we can improve this by adding some line about weaver here: https://scala-cli.virtuslab.org/docs/commands/test#test-framework, with a note about specifying TestFramework if needed. I'll happy to make a PR for this.
The long term solution is making sure scala-cli picks up the correct one to execute in case of many test frameworks are in the class path. I can also dig into this a bit but not sure I can solve it.
I think we can improve this by adding some line about weaver here: https://scala-cli.virtuslab.org/docs/commands/test#test-framework, with a note about specifying TestFramework if needed. I'll happy to make a PR for this.
Yeah, such a PR would be much appreciated!
thanks @Gedochao I'll create a pr for this soon!
Version(s) Scala CLI version: 0.2.1 Scala version (default): 3.2.2
Describe the bug A test file with both
munit
andweaver
and tests are written usingweaver
, scala-cli doesn't run any tests.To Reproduce Example:
run
scala-cli test .
doesn't execute any test. Expected behaviour It should runpureTest
test case. Addition informationIf I specify test-framework then it works. Ex: