3 ms·
Salesforce have quite a nice solution for a similar problem. If you write custom Apex code, the platform will not let you deploy it to live unless it has suffic
by codeulike 14y ago
Salesforce have quite a nice solution for a similar problem. If you write custom Apex code, the platform will not let you deploy it to live unless it has sufficient unit test coverage. It runs the tests and calculates code coverage when you try and deploy, and if your tests aren't covering enough, no deployment happens. So, you have tests.
Then, upcoming platform changes are released to sandbox environments six months or so before they go live - you can see if your tests run, and have time to keep up with things. You do have to keep up though.
- to3m 14y agoI take it they then don't have any tests of their own to assure backwards compatibility? Maybe I've been spoiled by using Windows for 20 years but I feel that we should be able to expect better from vendors than this. That goes double if you're paying them, though it sounds in Salesforce's case as if they pay you, because I can't see any other way in which this arrangement would make sense.
- codeulike 14y ago> I take it they then don't have any tests of their own to assure backwards compatibility? I think they do. They take that pretty seriously, breaking changes to the API are rare and usually obscure edge cases.