-
Notifications
You must be signed in to change notification settings - Fork 928
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
Pass in correct explicitlySpecified and selectors when creating TestDefinitions #5609
Comments
@antoine-mulet Thanks for the report. Could you provide reproduction steps so we can reproduce your problem on our computers? |
@eed3si9n sorry if something wasn't clear. I didn't think a proper repro was necessary here because we are talking about an interface that has been partially implemented using hardcoded default values. To give a bit more details, here is what I understand about the issue: sbt sbt/testing/src/main/scala/sbt/TestFramework.scala Lines 82 to 87 in 975e3db
maps to test-interface In there it is very clear what and same for However That being said, to answer the original question, here is how you can reproduce the issue with ScalaTest:
And this is because Another way to double check the issue is to run the same sbt command in debug mode with breakpoints in the sbt / ScalaTest code to inspect the values of I hope everything is clearer with the explanations above, if still not please let me know. |
Hi @eed3si9n, do you have any comments? Is everything above clear? Thanks, |
Thanks for unpacking this. |
Simply something that has never been implemented it seems. For example Scalatest relies on these two fields to implement the tasks run logic so it's a shame they are currently hardcoded.
sbt/main-actions/src/main/scala/sbt/Tests.scala
Lines 570 to 575 in 62c6cad
This is the first time I take a look at the sbt code but if someone can provide me with some guidance I would be happy to contribute.
The text was updated successfully, but these errors were encountered: