Number945 :
I have written some Test methods using Junit and mockito. My tests run fine. However, I am not able to see code coverage.
No matter which option I click on, nothing is shown in code coverage.
I clicked on EDIT to fix configuration seetings
displayed in middle of code coverage window on right. This is what I get :
What should I do to get code coverage results ?
This is my folder structure :
CrazyCoder :
To see coverage for production code change the pattern to com.cdk.dmg.asset
.
You need to Enable coverage in test folders if you want see coverage in tests (this option is disabled on your screenshot and the pattern is set to record data for tests only, hence no results).
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=432553&siteId=1