Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Problem

My Test stage shows 0% Coverage

Solution

You need to ensure the right configuration is in place per type of testing.

Functional and Automated Tests

Is the stage currently open ?

SL provides coverage only after closure of all the executions

Is there a Sealights Coverage Agent connected from the App Server ?

  • In the Cockpit > Build Monitor, Is there an Agent from the App Server reported for the Test Stage

    • Is the application server properly configured with a Sealights' Coverage Collector agent ? A Test Listener entry with Lab ID should be visible along with the agent coverage indicator (green indicates coverage was reported to Sealights)

    • Is the right Lab ID set?

    • Is the right BSID provided ? Check in the Build monitor JSON entry if the Test Listener BSID is the expected one

    • If the application server configured with a Sealights Coverage Collector agent is still running then an agent entry should be visible in the Cockpit > Agents Monitor screen as below, with coverage indicator

    • Are the tests properly executed against the right instance of Application Server with SL instrumentation?

      • If the app servers are behind a load balancer, validate all instances are properly instrumented

    • Specific per technology

    • Please provide the logs at INFO level to Sealights via a Ticket opened to Support

Technology

Browser JS

DotNet

Unit Tests

  • Java

    • In the Cockpit > Build Monitor, check the general build scan information to ensure the expected data was reported to Sealights e.g. expected number of modules and methods, check that the packagesIncluded and packagesexcluded strings are correct.

If using Sealights Maven plugin with surefire for Unit Tests, check in the Cockpit > Build Monitor in the Test Listeners tab that there are Test Listener(s) agents showing with the “surefire” tag and that they have reported coverage to Sealights (green indicator) as shown below.

  • slnodejs

  • dotnet

  • No labels