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
Somasundaram SubramanianSomasundaram Subramanian 

how to run all test class to find code coverage

i want to find out test code coverage apex class so that i ask my devloper to increase the code coverage, how do i find , pls suggest
Vinoth Vijaya BaskerVinoth Vijaya Basker
To run all tests from Setup, enter Apex in the Quick Find box, select Apex Classes, then click Run All Tests.  http:// https://help.salesforce.com/s/articleView?id=sf.code_run_tests.htm&type=5 (http:// https://help.salesforce.com/s/articleView?id=sf.code_run_tests.htm&type=5)   This link has different methods to get the code coverage.
VinayVinay (Salesforce Developers) 
Hi Somasundaram,

From the Developer console, you can run all of the Apex Test classes in the org.

Method1:
Setup-->Developer Console-->Click Test-->Run All
Method2:
Click Setup-->Apex-->Click Apex classes-->Run All Tests
Method3:
Uisng SFDX, you can run below command.
sfdx force:apex:test:run --testlevel RunAllTestsInOrg
https://help.salesforce.com/s/articleView?id=sf.code_dev_console_tests_coverage.htm&type=5

Please mark as Best Answer if above information was helpful.

Thanks,