News for hackers. Stuff that matters.
Re:Unit testing, Lean Startup, and everything in-between by Avalaxy on Sunday March 12, 2017 @04:23PM (#13852862)
Unit tests are not really meant to test whether the code does what it's supposed to do initially, but more about making sure that it _keeps_ working when you're changing a bunch of stuff. For a pre-traction startup/MVP, the latter doesn't really matter. It will be the first version of the product, so there won't be a lot of changes. If the first version of the product gets traction, then it becomes interesting to write more tests.
Re:Unit testing, Lean Startup, and everything in-between by itamarst on Sunday March 12, 2017 @07:25PM (#13853911)
Exactly: unit tests provides Stable Functionality... and if you're rewriting everything once a week that's not useful.

If you have library code that won't get rewritten it should have unit tests, of course, since you want that to be stable.