51Testing软件测试论坛

标题: 测试用例分类,happy,sad,bad [打印本页]

作者: 小菜1010    时间: 2015-3-31 19:57
标题: 测试用例分类,happy,sad,bad
测试用例可以分为sad,happy,bad这三类,他们有什么区别嘛?可以用实际问题来说一下吗?
作者: Miss_love    时间: 2015-4-1 07:58
测试用例有这样的分类?好吧,落伍了。
作者: 土土的豆豆    时间: 2015-4-1 09:31
偶也out 了…………
LZ求科普……
话说是指理想用例、非法用例、有效/无效等价类么?
作者: zhl85213    时间: 2015-4-1 14:31
好新颖~
板凳一下~
作者: 小菜1010    时间: 2015-4-2 10:29
Miss_love 发表于 2015-4-1 07:58
测试用例有这样的分类?好吧,落伍了。

我也不知道,在网上也没搜到相关解释,我师父得我出的题
测试用例还有种分类是:happy,sad,bad:
A test case which results you in a positive result is a Happy path, for e.g. entering proper username and password on login page. A test case which yields no result like entering invalid username and invalid password on a login screen is Sad path. These test cases will actually will be scenarios which will not take you further. And finally the last one “Bad path” which is like entering junk characters in username field or some 70 characters in username field and will expect system to handle it and show some messages to the user.
作者: 小菜1010    时间: 2015-4-2 10:29
土土的豆豆 发表于 2015-4-1 09:31
偶也out 了…………
LZ求科普……
话说是指理想用例、非法用例、有效/无效等价类么?

测试用例还有种分类是:happy,sad,bad:
A test case which results you in a positive result is a Happy path, for e.g. entering proper username and password on login page. A test case which yields no result like entering invalid username and invalid password on a login screen is Sad path. These test cases will actually will be scenarios which will not take you further. And finally the last one “Bad path” which is like entering junk characters in username field or some 70 characters in username field and will expect system to handle it and show some messages to the user.
作者: 小菜1010    时间: 2015-4-2 10:30
zhl85213 发表于 2015-4-1 14:31
好新颖~
板凳一下~

测试用例还有种分类是:happy,sad,bad:
A test case which results you in a positive result is a Happy path, for e.g. entering proper username and password on login page. A test case which yields no result like entering invalid username and invalid password on a login screen is Sad path. These test cases will actually will be scenarios which will not take you further. And finally the last one “Bad path” which is like entering junk characters in username field or some 70 characters in username field and will expect system to handle it and show some messages to the user.
作者: Pink_alan    时间: 2015-4-8 16:48
感觉你自己已经解释的很清楚了啊- -




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2