Pro's and Con's of unit testing after the fact

后端 未结 12 1021
轻奢々
轻奢々 2021-02-03 18:43

I have a largish complex app around 27k lines. Its essentially a rule drive multithreaded processing engine, without giving too much away Its been partially tested as it\'s been

12条回答
  •  没有蜡笔的小新
    2021-02-03 18:55

    Depending on how many bugs "manual testing" turns up, you could simply do test-driven bug fixing which in my experience is far more effective than simply driving up code coverage by writing "post-mortem" unit tests.

    (Which is not to say writing unit tests afterwards is a bad idea, it's just that TDD is almost always a better idea.)

提交回复
热议问题