小菜1010 发表于 2015-3-31 19:57:16

测试用例分类,happy,sad,bad

测试用例可以分为sad,happy,bad这三类,他们有什么区别嘛?可以用实际问题来说一下吗?

Miss_love 发表于 2015-4-1 07:58:17

测试用例有这样的分类?好吧,落伍了。

土土的豆豆 发表于 2015-4-1 09:31:22

偶也out 了…………
LZ求科普……
话说是指理想用例、非法用例、有效/无效等价类么?

zhl85213 发表于 2015-4-1 14:31:19

好新颖~
板凳一下~

小菜1010 发表于 2015-4-2 10:29:04

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: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:22

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:05

感觉你自己已经解释的很清楚了啊- -
页: [1]
查看完整版本: 测试用例分类,happy,sad,bad