35 lines
846 B
Markdown
35 lines
846 B
Markdown
<div align=center>
|
||
|
||

|
||
|
||
</div>
|
||
|
||
# Running Tests
|
||
|
||
**Kyuubi** can be tested based on [Apache Maven](http://maven.apache.org) and the ScalaTest Maven Plugin,
|
||
please refer to the [ScalaTest documentation](http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin),
|
||
|
||
## Running Tests Fully
|
||
|
||
The following is an example of a command to run all the tests:
|
||
|
||
```bash
|
||
./build/mvn clean test
|
||
```
|
||
|
||
## Running Tests for a Module
|
||
|
||
```bash
|
||
./build/mvn clean test -pl :kyuubi-common
|
||
```
|
||
|
||
## Running Tests for a Single Test
|
||
|
||
When developing locally, it’s convenient to run one single test, or a couple of tests, rather than all.
|
||
|
||
With Maven, you can use the -DwildcardSuites flag to run individual Scala tests:
|
||
|
||
```bash
|
||
./build/mvn test -Dtest=none -DwildcardSuites=org.apache.kyuubi.service.FrontendServiceSuite
|
||
```
|