/
How to create an environment and add code coverage to this environment?
How to create an environment and add code coverage to this environment?
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:
Java using Maven with Jenkins plugin
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
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
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
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
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
Related content
Using Java Agents - Installing the Coverage Listener as a JVM Java Agent
Using Java Agents - Installing the Coverage Listener as a JVM Java Agent
More like this
Using Java Agents - Running Tests
Using Java Agents - Running Tests
More like this
Improve Test Optimization With Context Propagation
Improve Test Optimization With Context Propagation
Read with this
Running Tests using Karma test framework
Running Tests using Karma test framework
More like this
How to setup the build scanner?
How to setup the build scanner?
Read with this
Running Tests with unittest, unittest2, pytest, nose or behave
Running Tests with unittest, unittest2, pytest, nose or behave
More like this