Closed IceOnly closed 10 months ago
hi, great that you are using the code coverage 🙂
first thing to check, the code lens stats are only updated each time the whole test suite is run (not individual tests or test codeunits). The code coverage icon in the status bar (bottom right) allows you to toggle the code coverage highlighting between the previous test run and the last time all of the tests were run.
Perfect! The button in the Status bar was exactly that i missed!
I have a Workspace with two apps. MainApp and TestApp.
I Configured the al test runner like discribed here: https://github.com/jimmymcp/al-test-runner/issues/45#issuecomment-1222147738
In the Output Window the coverage is calculated:
But all procedures in the MainApp and TestApp will show 0% percent, but i know the lines are hit:
PS: The references in this case are 0 because its an implentation of an interface :)