Test Case Writing Guideline презентация

Содержание

Слайд 2

Test Case Definition Test case is a set of input

Test Case Definition

Test case
is a set of input values, execution

pre-conditions, expected results and execution post-conditions, developed for a particular objective or test condition, such as to exercise a particular program path or to verify compliance with a specific requirement.
Слайд 3

Main Rule Never ever start to write Test Cases from writing Test Cases!

Main Rule

Never ever
start to write Test Cases
from
writing Test Cases!

Слайд 4

WHY?

WHY?

Слайд 5

Instruction

Instruction

Слайд 6

Conclusion So, Test Cases are the result of the analysis and all thoughts

Conclusion
So, Test Cases are
the result
of the analysis and
all thoughts

Слайд 7

Goals of Test Case Development

Goals of Test Case Development

Слайд 8

Features of a Good Test Case

Features of a Good Test Case

Слайд 9

Features of a Good Test Case

Features of a Good Test Case

Слайд 10

Features of a Good Test Case

Features of a Good Test Case

Слайд 11

Features of a Good Test Case

Features of a Good Test Case

Слайд 12

Features of a Good Test Case

Features of a Good Test Case

Слайд 13

Features of a Good Test Case

Features of a Good Test Case

Слайд 14

Features of a Good Test Case

Features of a Good Test Case

Слайд 15

Features of a Good Test Case

Features of a Good Test Case

Слайд 16

When to start a TC creation ?

When to start a TC creation
?

Слайд 17

When to start a TC creation A specification should be

When to start a TC creation

A specification should be clear to

test:
How it will look
How it will function
Слайд 18

Source of Test Cases ?

Source of Test Cases
?

Слайд 19

Source of Test Cases Specification – main source. Product is NOT a source!!!

Source of Test Cases

Specification – main source.
Product is NOT a source!!!

Слайд 20

Test Case Structure

Test Case Structure

Слайд 21

Structure of Test Case Test Case ID (unique)* Title* Pre-condition/Prerequisites

Structure of Test Case

Test Case ID (unique)*
Title*
Pre-condition/Prerequisites
User roles
Steps*
Test data
Expected result*
Status*
Comment*

Слайд 22

Title of Test Cases Add “Component/Area” to group test cases.

Title of Test Cases
Add “Component/Area” to group test cases.
Use keywords to

make it specific.
Avoid "correctly", "properly“ and "as designed“.
Слайд 23

Pre-condition/Prerequisites Test setup (settings, entities, users). Describe conditions which needs

Pre-condition/Prerequisites
Test setup (settings, entities, users).
Describe conditions which needs to fulfill before

executing the test case.
Слайд 24

Test Data Variations No data. Valid data. Invalid data. Illegal

Test Data Variations

No data.
Valid data.
Invalid data.
Illegal data format.
Boundary Condition Data set.
Equivalence

Partition Data Set.
Decision Table Data Set.
State Transition Test Data Set.
Pairwise Testing.
Use Case Test Data.
Слайд 25

Test Case Store Test Management Tool (TestRail, Zephyr, AzDO and

Test Case Store

Test Management Tool (TestRail, Zephyr, AzDO and etc.)
Google Sheets

(not secure except if it has his own account)
SharePoint
Excel
Слайд 26

Language Write in simple and easy to understand language Use

Language

Write in simple and easy to understand language
Use active voice: Do

this, do that
Use Present Simple
Use “should” in expected results (or Present Simple)
Use exact and consistent names (of forms, fields, etc)
Слайд 27

Tips for writing good test cases

Tips for writing good test cases

Слайд 28

Execution of Test Cases Set a status: - Passed -

Execution of Test Cases

Set a status:
- Passed
- In Progress
-

Failed
- Not tested
- Not Applicable
- Blocked
Add comments
Add attachments
Link defects
Слайд 29

Example

Example

Слайд 30

Example

Example

Слайд 31

Example

Example

Имя файла: Test-Case-Writing-Guideline.pptx
Количество просмотров: 11
Количество скачиваний: 0