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