You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/contributor-guide/development.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,18 @@ After that you can open the project in CLion. The IDE should automatically detec
73
73
Like other Maven projects, you can run tests in IntelliJ IDEA by right-clicking on the test class or test method and selecting "Run" or "Debug".
74
74
However if the tests is related to the native side. Please make sure to run `make core` or `cd core && cargo build` before running the tests in IDEA.
75
75
76
+
### Running Tests from command line
77
+
78
+
It is possible to specify which ScalaTest suites you want to run from the CLI using the `suites`
79
+
argument, for example if you only want to execute the test cases that contains *valid*
80
+
in their name in `org.apache.comet.CometCastSuite` you can use
81
+
82
+
```sh
83
+
mvn test -Dsuites="org.apache.comet.CometCastSuite valid" -Dskip.surefire.tests=true
84
+
```
85
+
86
+
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)
87
+
76
88
## Benchmark
77
89
78
90
There's a `make` command to run micro benchmarks in the repo. For
0 commit comments