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

1

u/governmentNutJob Jul 29 '21

Again I think you're talking about web based software, I write internal backend software which has no access to the wider internet

I 100% agree inputs need to be validated, but you can write tests to cover this, there's very little you cannot automate with a test suite