function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bretondevbretondev 

Apex test classes : how to show lines covered in Developer Sandbox?

Hello
We have two Sandboxes : one Full and one Developer sandbox.

For the Full sandbox, when we run the tests, we get test coverage but also when we click on a particular class we can see which lines are covered and which are not, thanks to the red and blue highlighting.

For the Developer sandbox, when we run the tests, we get test coverage but no red and blue highlighting.
So for example, when we have 90% coverage for a class, we cannot see which lines are affected by the the 10% missing coverage.

We've had this issue since the beginning, and it's becoming very annoying, because we have to deploy to Full sandbox to see which lines are covered.
We want to be able to do that at the beginning of our development lifecyle, that is, in the Developer sandbox.

So the question is, has anybody been able to see which lines are covered by tests in a Developer sandbox?
Best Answer chosen by bretondev
bretondevbretondev
A colleague of mine suggested to use https://www.aside.io/ solved our problem

All Answers

Amit Chaudhary 8Amit Chaudhary 8
You can check same in Developer console
bretondevbretondev
No, I use Developer console and it doesn't work
bretondevbretondev
A colleague of mine suggested to use https://www.aside.io/ solved our problem
This was selected as the best answer