Integration tests - "no exceptions are thrown" approach. Does it make sense?

Posted by Andrew Florko on Stack Overflow See other posts from Stack Overflow or by Andrew Florko
Published on 2010-06-12T03:48:24Z Indexed on 2010/06/12 3:52 UTC
Read the original article Hit count: 228

Sometimes integration tests are rather complex to write or developers have no enough time to check output - does it make sense to write tests that make sure "no exceptions are thrown" only? Such tests provide some input parameters set(s) and doesn't check the result, but only make sure code not failed with exception?

May be such tests are not very useful but appropriate in situations when you have no time?

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about testing