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
Shilpa KambleShilpa Kamble 

Need to write a scheduler class to run the classes and find the code coverage of all classes

For this Do I need to use the tooling api? or without api's can I achiev.
Found one refernce link :http://developer.force.com/cookbook/recipe/automated-unit-test-execution

please suggest me, what is the correct approch.

Thanks in advance!
Yuvaraj mayilsamy 9Yuvaraj mayilsamy 9
Hi Shilpa,

 I really dont understand your question. If you want to run all the test classes all together then open the developer console Test menu and run all. All the code coverage of all classes will get calculated automatically. If you want to run a specific set of test classes then create a test suite by going to the test menu and run the 'new suite run' alone whenever you want.