You need to sign in to do that
Don't have an account?
kpeterson
Scheduling Apex Tests
We have people making changes in production rather than sandboxes a majority of the time (can't change this) and they aren't always aware of what the apex is tied to. I know there is the "Run All Tests" button in the setup interface but that really bogs down the browser with everything it returns and isn't very usable for them. Is there a way to maybe schedule tests and have the results emailed to me so I can be aware of anything that broke recently?
salesforce natively supports emailing apex code errors to an admin, but i can only seem to get this to work with triggers.
if you properly use try...catch statements, implementing this would be as simple as creating a small class for the singleemail, and then passing the data you want to it as part of your catch statement.
they run all of your tests before they do an update, but i think that's the extent of it.