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
sudh shuklasudh shukla 

Apex Unit Test Class

Hi all,
I have created test class for my apex class the test class has been successfully get passed but still not showing expexted code coverage. Why is it so? Please suggest.
Any help would be highly appreciated.
salesforce mesalesforce me
doint give the dummy values..
Rahul Sangwan7341Rahul Sangwan7341
Hi Sudh,

Please check your code coverage for that class in Developer Console it will helps you to see the lines which are not covered.

Go to developer console ---> Open the Test Class ----> On top left corner you will see the Code Coverage Button.

Please Select this as Best Answer if it helps you to solve your problem.

Let me know if you are facing any problem in this.