You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2024/05/08 18:51:54 UTC
Re: [PR] docs: Running ScalaTest suites from the CLI [datafusion-comet]
andygrove commented on code in PR #404:
URL: https://github.com/apache/datafusion-comet/pull/404#discussion_r1594495484
##########
README.md:
##########
@@ -74,3 +74,15 @@ See the [DataFusion Comet User Guide](https://datafusion.apache.org/comet/user-g
## Contributing
See the [DataFusion Comet Contribution Guide](https://datafusion.apache.org/comet/contributor-guide/contributing.html)
for information on how to get started contributing to the project.
+
+## Running ScalaTest suites from the CLI
+
+Running single ScalaTest suites from the CLI is possible using the `suites`
+argument, for example if you only want to execute the test cases that contains *valid*
+in their name in `org.apache.comet.CometCastSuite` you can use
+
+```sh
+mvn test -Dsuites="org.apache.comet.CometCastSuite valid" -Dskip.surefire.tests=true
+```
+
+Other options for selecting specific suites are described in the [ScalaTest Maven Plugin documentation](https://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin)
Review Comment:
This is helpful content @edmondop but I think this needs to be in the development guide (part of the contributing guide linked to here in the README), which is published at https://datafusion.apache.org/comet/contributor-guide/development.html
The source is in this repo under `docs/source/contributor-guide`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org