Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


In order to add code coverage to your build you need to perform the following steps:

Setup the build scanner

depending on the architecture follow one of the below to set up the test scanner:

Section
bordertrue
Column

Java using Maven with Jenkins plugin

Section
bordertrue
Column

Java using Gradle

Setting up the test listener as a Java Agent on your application server

Running the tests is done by using the same steps as in the build scanner

Section
bordertrue
Column

Java using JMeter

Setting up the test listener as a Java Agent on your application server

Running the tests is done by using the same steps as in the build scanner

Section
bordertrue
Column

Java Command line

Setting up the test listener as a Java Agent on your application server

Run the tests using the test listener to start and end the stage


Section
bordertrue
Column

Node.js with the Mocha test Framework

If running functional tests, run your backend server using the SeaLights agent

Run the tests using the mocha option of the test listener

Section
bordertrue
Column

Node.js with the TAP test Framework

If running functional tests, run your backend server using the SeaLights agent

Run the tests using the TAP based commands to start and end the stage

Section
bordertrue
Column

Node.js command line

If running functional tests, run your backend server using the SeaLights agent

Run the tests using the TAP based commands to start and end the stage