../_images/kyuubi_logo_simple6.png

4. Running Tests

Kyuubi can be tested based on Apache Maven and the ScalaTest Maven Plugin, please refer to the ScalaTest documentation,

4.1. Running Tests Fully

The following is an example of a command to run all the tests:

./build/mvn clean test

4.2. Running Tests for a Module

./build/mvn clean test -pl :kyuubi-common

4.3. 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:

./build/mvn test -Dtest=none -DwildcardSuites=org.apache.kyuubi.service.FrontendServiceSuite