关于测试用例(三)
上一篇 /
下一篇 2007-04-03 11:59:51
/ 个人分类:测试用例
Difference Between Use Case & Test Case
S. No. |
Use Cases |
Test Cases |
|
|
|
1 |
Use case is one complete flow of that module or functionality . |
Test case consist of input value with expected out put value |
2 |
Use case is given by the client |
Test case is a document to test whether the application meet customer expectations.
|
3
|
Use Case testing is done by thinking differently from the test case. The main Objective of testing is to see "How to Break the software" |
Test cases are written accroding to the requirements taken from the documents and that requirements are given by the client. |
4 |
All use cases are not covered in Test cases but all test cases are covered in Use case. |
|
5 |
The specification of tests that are conducted from the end-user perspective.
Use cases tend to focus on operating software as an end-user would conduct their day-to-day activities.
A use case is a technique for capturing functional requirements of systems |
Test Case is a commonly used term for a specific test. This is usually the smallest unit of testing. A Test Case will consist of information such as requirements testing, test steps, verification steps, prerequisites, outputs, test environment, etc.
A set of inputs, execution preconditions, and expected outcomes developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement |
6 |
Example:
Use case: After entering all required data login should successful |
Example of test cases to get desired use case:
1. Provide wrong user name but right password
2. Provide only name without password
3. Provide only password without name
4. Don't provide anything and directly try to login
5. Provide name and password but don't hit enter
6. Provide login name and password and hit enter : Login |
上面是我参加 the Google Groups "Software Testing (QC) & Software Quality Assurance (QA)" group 收到的一封邮件,个人感觉挺有参考价值的,所以粘过来给大家参考一下,希望能对大家有帮助。
|
|
相关阅读:
- 如何写测试用例 (shilinglin, 2007-1-18)
- 安装测试用例 (shilinglin, 2007-1-18)
- 学习笔记 (2) (shanghai15, 2007-5-28)
- 从测试用例看测试的问题及变化(转贴) (yexu, 2007-1-24)
- 软件可靠性测试(转贴) (yexu, 2007-2-01)
- 关于测试用例编写(一) (phoenixDT, 2007-2-07)
- Why do we write Test Cases?|testingreflections.com (AlexanderIII, 2007-2-07)
- 关于测试用例编写(二) (phoenixDT, 2007-2-11)
- 构造朴实的测试用例(转) (yexu, 2007-3-08)
- 测试用例及其自动化实现的管理 (xiangxiang, 2007-3-29)
收藏
举报
TAG:
测试用例