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 4 Next »

Problem

I have tests hitting certain area of my code for sure but Sealights dashboard marks them as ‘Untested’.

Solution

Verify that the tests are actually calling the methods in question by adding a system console log at the beginning of the method. Java example below:

System.out.println("Sealights: <method name> was called");

If the string does not appear:

  • Is there a mocking tool ?

  • Is the app behind a load balancer?

  • Is the same bytecode/artefact scanned and used in the application server

If the string appears

  • Provides Sealights with logs

  • No labels