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

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
主站蜘蛛池模板: 凉山| 大关县| 沁源县| 灵武市| 广元市| 武夷山市| 平谷区| 吉林市| 舞阳县| 会东县| 桦南县| 永寿县| 瓦房店市| 铜梁县| 叙永县| 玛沁县| 丰顺县| 曲周县| 岳西县| 长垣县| 吴川市| 新龙县| 太白县| 万山特区| 正定县| 镇沅| 抚宁县| 米林县| 周口市| 卓资县| 旅游| 罗田县| 浙江省| 辰溪县| 四子王旗| 法库县| 内江市| 长沙县| 鲜城| 平邑县| 密云县|