Skip to content

Running Tests

Unit tests for JTE are written using Spock.

To run all the tests, run:

just test

The gradle test report is published to build/reports/tests/test/index.html

Execute tests for a specific class

To run tests for a specific Class, StepWrapperSpec for example, run:

just test '*.StepWrapperSpec'

Code Coverage

By default, JaCoCo is enabled when running test.

Once executed, the JaCoCo coverage report can be found at: build/reports/jacoco/test/html/index.html

To disable this, run:

just --set coverage false test
Back to top