đź’© Smelly assertions

Igor Budasov
WebDevOps
Published in
1 min readDec 3, 2019

If you’re reviewing someone’s code and see that the developer is asserting on the tests on

  • Basic exceptions which belong to the language itself
  • Exceptions which are thrown by 3rd party library

It means that the dev didn’t create dedicated exceptions for the cases when it was needed.

--

--

Igor Budasov
WebDevOps
Editor for

A traveller. A drinker. A photographer. A blogger. An engineer.