With the arrival of Spring ’13, you may have noticed that finding code coverage is a little more challenging. Before Spring ’13, I would just open up my class which contained my tests, click the Run Test and then look at the code coverage results on the resulting page. That has changed in Spring ’13 because the tests now run asynchronously. There are a few ways to view your code coverage.
The first way is under Setup->Develop->Apex Classes. Look for the column called “Code Coverage”. When you click on the percentage, you’ll get a familiar looking screen.
The other option is to use the Developer Console. This gives you additional details about what each test method is actually doing. Open the Developer Console, click on the Repository Tab and then open the class for which you want to see the coverage. You can select to see no coverage, the coverage from all tests or coverage from a specific test method.
You can also run specific test methods from the Developer console if you open the test class.