You need to sign in to do that
Don't have an account?
HTS-Dev
Code Coverage not increasing after writing test classes
Code Coverage is not increasing after writing test classes. The test methods have been passed but code coverage remains 0% for all the test classes. This is a new issue we are facing (possibly) since the Winter 16 release. Has anyone faced the same issue?
You can try out the below steps,
1. Compile all class.
2. Ensure test class stared with @isTest annonation and method should be declared testMethod.
3. Setup --> Build --> Apex Test Execution --> Options --> Check --> Disable Parellel Apex Testing
4. Setup --> Build --> Apex Test Execution --> View Test History--> Clear all data
5. Finally run your test class.