/
How to set up an application to report coverage to the Sealights dashboard
How to set up an application to report coverage to the Sealights dashboard
The following steps specify the necessary actions required to complete a standard onboarding of an application to report to the Sealights dashboard.
Sealights implementation - a Step by Step guide:
Step 1 - Getting Started
- Users that require access are specified by the customer, then created by Sealights.
- New user logs in for the first time using given credentials & sets a new password
- From the Sealights dashboard, create an application token (Settings → Agent Token)
- This token should be saved in a file (default: sltoken.txt), saved in the root workspace directory
Step 2 - Running a Sealights cycle - Build Scan
- Create a session ID - (Java, Node.JS, .NET, Python)
- Requires an application name, branch, build number & package names to be included in the scan.
- This step runs every time a new build is reported to the dashboard
- Scan the binary files (Java, Node.JS, .NET, Python)
- Requires permissions on the server where artifacts are built & unit tests are run
Step 3 - Running a Sealights cycle - Test Listener
- Configure unit tests to run with our test listener (Java - Maven/Gradle, Node.JS, .NET, Python)
- Method of configuration varies in accordance to how tests are run - executed by plugin/manually
- Deploy the packaged application onto the application server
- Configure application server to go up with our Test Listener & ensure the test listener is started alongside the application server. (Java, Node.JS, .NET, Python)
- Start an execution, specify a test stage name. (Java, Node.JS, .NET, Python)
- Run functional/manual tests
- End the execution of the test stage. (Java, Node.JS, .NET, Python)
Related articles
, multiple selections available,
Related content
Installation and Setup for SeaLights Chrome extension
Installation and Setup for SeaLights Chrome extension
More like this
How to create an environment and add code coverage to this environment?
How to create an environment and add code coverage to this environment?
Read with this
SeaLights Go agent
SeaLights Go agent
Read with this
Unit Tests - SeaLights Node.js Agent
Unit Tests - SeaLights Node.js Agent
More like this
SeaLights CD Agent
SeaLights CD Agent
More like this
Running Tests (Only) using SeaLights Gradle plugin (JSON file)
Running Tests (Only) using SeaLights Gradle plugin (JSON file)
More like this