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
BGrimesBGrimes 

Run all unit tests for <potential> continuous integration?

I know that unit tests are private, so this might be a no go.  But is it at all possible, in the confines of Salesforce's platform, to create a master test that in turn runs all tests?  With the private scope of tests it's a nightmare to track down various classes and currently we have over 250 individual tests with about 40 more to deploy this week in another project.  It is possible to set something up to run unit tests daily?  This is to catch rogue admins who add validation rules (the bane of Salesforce) which kill classes and in turn unit tests.

 

Before I post this to ideas.salesforce.com, to watch it sit idle, is there something I'm missing with unit test set up?

 

Cheers.

Bryan

Nick34536345Nick34536345

Maybe I misunderstand your issue but are you aware of the "Run All Tests" button in Setup -> Develop -> Apex Classes?

Also to run it daily you can use the API - there is a runTests() method you can call.

 

Nick