Better HN
topnewbestaskshowjobs
Log inSign up

laceysnr

2 karma · joined Apr 12, 2013 (13y ago) · 6 submissions

Submissions

1.

Where Is AI Taking Us?(mattlacey.com ↗)

3 points · by laceysnr · 1y ago · 1 comment

comment 13y ago · link · parent

It's platform specific, Salesforce requires a 75% minimum to deploy to production so really you want it to he as high as possible. That part of the post in particular was for Salesforce developers, I wasn't anticipating it being seen by so many people outside of that community!

comment 13y ago · link · parent

I test most, but like l said I tend to be over cautious such that some exceptions are not mine to throw, as in only major platform issues will generate them, and I refuse to add logic to the main code to facilitate tests. On some platforms I would be in complete agreement with you but Force.com has it's own specific peculiarities.

comment 13y ago · link · parent

The coverage cheat is for the platform. I don't control the metrics so sometimes working around them is necessary. I would never fudge something to meet a personal standard, my standards are against nonsensical metrics.

comment 13y ago · link · parent

Zalew, that's a great point but in the force.com environment you must have 75% coverage and as /wrote, I err on the side of caution in my code which can cost me in terms of %. I don't like to change my code for the sake of tests, but layout is another matter.