关于测试用例(三)

上一篇 / 下一篇  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 收到的一封邮件,个人感觉挺有参考价值的,所以粘过来给大家参考一下,希望能对大家有帮助。


 


TAG: 测试用例

 

评分:0

我来说两句

我的栏目

日历

« 2024-03-23  
     12
3456789
10111213141516
17181920212223
24252627282930
31      

数据统计

  • 访问量: 4966
  • 日志数: 7
  • 建立时间: 2007-02-06
  • 更新时间: 2007-04-03

RSS订阅

Open Toolbar