0% found this document useful (0 votes)
27 views13 pages

Test Case Design

This is the presentation for Test case design topic (VTU) in Software engineering subject seminar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views13 pages

Test Case Design

This is the presentation for Test case design topic (VTU) in Software engineering subject seminar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Test Case

Design
What is Test Case Design?
 Test case design is a system and component testing where you
design the test cases that test the system.

 It includes processes for the identifying test cases by enumerating


steps of the defined test conditions.

 Designing good test cases ensure that every aspect of your software
gets tested so that you can find and fix any issues.
why we have to do test?
 Testing is necessary in order to identify any defects that are present
in software which can cause harm.

 A good test case design technique is crucial to improving the quality


of the software testing process.

 This helps to improve the overall quality and effectiveness of the


released software.
Test Case Design Technique
 Boundary Value Analysis
 Equivalence Partitioning
 Decision Table Testing.
 State Transition Diagrams.
Boundary Value Analysis
 Boundary testing is the process of testing boundaries between partitions of the
input values.
 So these extreme ends like Maximum-Minimum values are called boundary
values and the testing is called "boundary testing".
 Test cases with test data exactly as the input boundaries of input domain values 1
and 1000 in our case
 Test data with values just below the extreme edges of input domains values 0 and
999.
 Test data with values just above the extreme edges of the input domain values 2
and 1001.
Example: Boundary values are 1-1000
Test cases are 1,1000
0,999
2,1001

Valid Boundary Invalid Boundary


1,1000
999 0
2, 1001
Equivalence Partitioning
 In this technique, input data units are divided into equivalent
partitions that can be used to derive test cases which reduces time
required for testing because of small number of test cases.

 Divide a set of test conditions into groups, so that it can be


considered same

 Only one condition is required to test from each group


Example: In a bank for fixed deposit rate of interest
differ from amount deposited

Amount Rate of interest


1-100 3%
101-500 5%
>500 7%

Ans) Test Cases We Test Valid/Invalid


-100 – 0 -23 Invalid
1 – 100 77 Valid
101 - 200 163 Valid
201 – 300 293 Valid
301 – 400 348 Valid
401 – 500 479 Valid
501 – 600 510 Valid
Decision Table Testing.
 The decision table is a software testing technique which is used
for testing the system behavior for different input combinations.
 This is a systematic approach where the different input
combinations and their corresponding system behavior are captured
in a tabular form
 Decision Table helps in testing different combination of inputs
results in different action
Example: Different combination of inputs (Id
and Password) in login portal

User Id Password Result


Right Right Login Successfull
Right Wrong Login Unsuccessfull
Wrong Right Login UnSuccessfull
Wrong Wrong Login UnSuccessfull
State Transition Diagrams.
 State transition testing helps to analyze behaviour of an application
for different input conditions. Testers can provide positive and
negative input test values and record the system behavior.

 State Transition can be used if same inputs gives different results


Example: In ATM if you enter wrong pin for 3
times your card will be blocked
Card Insertion

Enter Pin

Wrong Wrong Wrong Block


1 try
st 2nd try 3rd try
Pin Pin Pin Card

Correct Correct Correct


Pin Pin Pin

Access
Account
THANK YOU

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy