官术网_书友最值得收藏!

When to use automated testing

Those are enough arguments to convince you why you would want to use automated tests, I guess. But how about when to use them? Ideally, this would be whenever code is changed to show that this functionality, already having been tested, is still working as it should, to show that recent modifications do not compromise the existing application.

This sounds logical, but what does this mean when you have no automated tests in place? How do you go about start creating your first ones? Basically, I would advise you to use the two following criteria:

  • What code change will give the highest return on investment when creating automated tests?
  • For what code change will your test automation creation improve your test coding skills the most?

Using these two criteria, the following kind of code changes are typical candidates for your first efforts:

  • After go-live bug fixing
  • Buggy code
  • Frequently modified code
  • Business-critical code being changed
  • Refactoring of existing code
  • New feature development
  • Microsoft updates
主站蜘蛛池模板: 五华县| 昂仁县| 泰顺县| 东安县| 绥阳县| 台湾省| 正安县| 商河县| 阳江市| 抚州市| 启东市| 玉树县| 信宜市| 罗源县| 太原市| 迭部县| 安岳县| 原阳县| 曲阜市| 叙永县| 三明市| 定西市| 新龙县| 密云县| 桑植县| 湾仔区| 穆棱市| 聂荣县| 仁化县| 靖边县| 苍山县| 聂拉木县| 泗阳县| 临沂市| 新乐市| 晋中市| 遂宁市| 和政县| 吴堡县| 宜宾县| 玉龙|