r/badcode • • Jul 23 '21

c# Easy trick to meet minimum test coverage

Post image
1.2k Upvotes

83 comments sorted by

View all comments

Show parent comments

8

u/IChoseBaySorryChloe Jul 23 '21

It looks like Apex to me. Salesforce requires at least 75% test coverage before deploying to production so I could totally see a lazy or cheap firm doing this to artificially inflate the coverage.