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
Open a Support ticket and provide Sealights with verbose logs (INFO)
Provide the CLASS file (Java) or any binary for Sealighst to analyze
(Optional) Provide Selaights with a copy of the source code (file or code snippet containing the specific ‘missing’ method)