What are unit testing and integration testing, and what other types of testing should I know about?

后端 未结 9 2200
感动是毒
感动是毒 2020-12-22 22:42

I\'ve seen other people mention several types of testing on Stack Overflow.

The ones I can recall are unit testing and integration testing. Especially unit testing i

9条回答
  •  攒了一身酷
    2020-12-22 22:51

    The other important technique is regression testing. In this technique, you maintain a suite of tests (called the regression suite), which are usually run nightly as well as before every checkin. Every time you have a bug fix you add one or more tests to the suite. The purpose is to stop you from re-introducing old bugs that have already been fixed. (The problem is surprisingly common!)

    Start accumulating your regression suite early, before your project gets big, or you'll regret it. I surely have!

提交回复
热议问题