3 ms·
Unit tests are not that useful IMO if you are alone on a project, but it is quite useful when multiple people have to work on the same codebase. They are a codi
by cdavid 15y ago
Unit tests are not that useful IMO if you are alone on a project, but it is quite useful when multiple people have to work on the same codebase. They are a coding tool firemost: they help (but cannot substitute to !) documenting intent, they help isolating regression, etc...
As you mention, unit tests work well for algorithmic stuff.