A comparative on test case generation on concurrent
1. A COMPARATIVE STUDY
ON
TEST CASE GENERATION OF CONCURRENT SYSTEM
Presented By:
Soumya Ranjan Behera
1721104037
Computer Science,8th
Sem
2. CONTENTS
Introduction
Software Life Cycle Model
Software Testing
Test Case
Test Case Design Techniques
Test Case Generation Method
Conclusion
Reference
3. INTRODUCTION
Test case generation is one of major role in software testing. Test-
cases play a significant role in decisive the quality of software. If
the number of test-cases is inadequate, it is possible that bugs may
appear.
For the sequential programs, some practical methods of generating
test- cases, based on a source code and specification of a program
are present.
4. SOFTWARE LIFE CYCLE MODEL
2
REQUIREMNT
S
ANALYSIS
3
DESIGN
1
PLANNING
6
MAINTENANC
E
5
TESTING
4
CODING
SOFTWARE
DEVELOPMENT
LIFE CYCLE
5. SOFTWARE TESTING
Software testing has high demand in IT market.
According to Capgemini’s worlds Quality report
companies contribute 25% budget to testing. And by
2025 it may be around 33%.
6. TEST CASE
Test case are the set of positive and negative executable steps of
test scenario which have a set of pre-conditions, test data,
expected result, post-conditions and actual results.
7. TEST CASE DESIGN TECHNIQUES
To identify the test conditions. Test Design
Techniques are helps to producing the quality of
test cases.
1.Decision Table
2. State Transition
3.Equivalence Partitioning
4.Boundary Value Analysis
8. DECISION TABLE
Decision Table helps to testing different combination of inputs results in
different actions.
Example:-
Allow the user to a login only when the “User Id”& “Password” is
correct other wise not.
Conditions:
Enter Valid User id
Enter Valid Password
Actions:
Displaying the home page
Show a message “Invalid user ”
10. STATE TRANSITION
State transition is apply when an application gives the different
outputs for same input, depending on what has happened in earlier
stage.
Example:
Home
Page
Error
Page
Login Page
1st
Attempt
2nd
Attempt
3rd
Attemp
t
T
T
T
T
F
F
11. CONT.
STATE LOGIN VALID INVALID
S1 First Attempt S4 S2
S2 Second Attempt S4 S3
S3 Third Attempt S4 S5
S4 Home Page
S5 Error Page
12. EQUIVALENCE PARTITIONING
Divided a set of test conditions into groups ,so that can be
considered same. Only one conditions is required to test from each
groups. It is black box testing.
Example:
AGE:-(Accepts 18-56)
Invalid condition Valid condition Invalid condition
<=17 18 – 56 >=57
13. CONT.
Valid Test Case
Enter the value-18
Enter the value-56
Invalid Test Case
Enter the value-17
Enter the value-57
14. BOUNDARY VALUE ANALYSIS
Boundary value analysis on testing the boundary between the
partition. Every partition has its minimum and
maximum(Boundary values )values.
Example:
AGE:-(Accepts 18-56)
Invalid condition Valid condition Invalid condition
(Min -1)
17
(Min, Maximum)
18,19 – 55,56
(Maximum+1)
57
15. CONT.
Valid Test Case
Enter the value-18
Enter the value-19
Enter the value-55
Enter the value-56
Invalid Test Case
Enter the value-17
Enter the value-57
17. CONCLUSION
The process to produce the test cases will not hit the problem of
state explosion. The numbers of test cases are decreased as the co
paths generated are made up systematically.
1) Solving feasibility of test cases.
2) Enhancement of automatic generation tool of test cases.
3) Evaluation of the effectiveness of this testing method by
applying it to various concurrent programs.