51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2668|回复: 3
打印 上一主题 下一主题

Regression testing

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2005-3-16 14:22:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
[Note]
Unit regression testing cost little than system regression testing. Because unit test the programmer can deal with the problem self. But system test the bug will be found by tester and report to manager and assign to programmer etc. the process of these costs much.

Regression testing: repeat testing after changes
·        Procedural: run the same tests again
·        Risk-oriented: expose errors caused by change
·        Refactoring support: help the programmer discover implications of her code changes
Good regression testing gives clients confidence that they can change the product or product environment
Risk-oriented regression testing: test after changes
·        Goal: manage the risks that a bug did not fix the bug or the fix had a side effect.
·        Paradigmatic cases: bug regression; old fix regression; general functional regression.
Common way to test a program more harshly while retesting in the same area:
·        Do more iterations (one test hits the same function many times)
·        Do more combinations( Interactions among variables including the function under test’s variables).
·        Do more things (sequences of functions that include the function under test)
·        Methodically cover the code (all N-length sequences that include the function under test; all N-wide combinations that include the function under test’s variables and variables that are expected to interact with or constrain or be constrained by the function under test).
·        Look for specific errors (such as similar products’ problems) that involve the function under test.
·        Try other types of tests such as scenarios that involve the function under test.
·        Try to break it (take a perverse view, get creative)

Procedural regression testing: run the same tests again
·        Paradigmatic cases: manual scripted regression testing; automated GUI regression testing; Smoke testing
·        Benefit: the tests exist already; many regulators and process inspectors like them; because we are investing in re-use, we can afford to take the time to craft each test carefully making it more likely to be powerful in future use; this is the dominant paradigm for automated testing, so it is relatively easy to justify and there are lots of commercial tools; implementation of automated tests is often relatively quick and easy.

Refactoring support: change detectors: change detectors
·        Goal: support refactoring: help the programmer discover implications of her code changes.
·        Notes: the programmer creates these tests and runs them every time she compiles the code; If a test suite takes more than 2 minutes the programmer might split tests into 2 groups; the intent of the tests is to exercise every function in interesting ways so that when the programmer refactors code she can quickly see.
·        Differences between unit-level black box regression testing and system-level black box regression testing
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏

该用户从未签到

2#
发表于 2005-3-23 19:14:51 | 只看该作者
有中文的吗?
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2005-3-23 19:19:42 | 只看该作者

好!

谢谢!谢谢您!中兴手机西安研究所欢迎您!

林根胜
13772071732
029-88723326
lin.gensheng@zte.com.cn
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2005-3-23 19:31:10 | 只看该作者

好资料!

谢谢!谢谢您!中兴手机西安研究所欢迎您!

林根胜
13772071732
029-88723326
lin.gensheng@zte.com.cn
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-25 10:37 , Processed in 0.066986 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表