This example code will demonstrate on how to generate code coverage from PactumJS tests on a Spring server written in java.
Install the following softwares
- Java 11
- Maven
Install Dependencies for running tests
npm i
Runs the server, runs the tests and dumps the coverage.
bash run.sh