Sei sulla pagina 1di 18

TEST CASE OPTIMIZATION

GANDHI INSTITUTE FOR


TECHNOLOGY
NAME : RABINDRA DAS
DEPT : COMPUTER SCIENCE ENGINEERING
REGD : 1301298188
GUIDED BY : SUJIT KUMAR PANDA

CONTENT
Introduction test case optimization?
What are goals for test case optimization?
Why is test case optimization important?
Who develop test cases?
Types of testing

Automation & manual.

what is automation &


manual.

Types of automation &


manual.
Phase of SDLC.
Model of testing.
Benefits of test case optimization.
Difference between optimization & test
case optimization.

Introduction
It is a specific procedure of testing a
particular requirement.
It will include:
Identification of specific requirement
tested
Test case success/failure criteria
Specific step to execute test
Test data
3

What Is Test
Case?
Testing is a process centered around the
goal of
finding defects in a system
Test case:
Set of input values
Set of expected results
How to execute the test and check
results
Expected post-conditions
4

What Is test case optimization?


Typically applies to unit test cases where
coverage
approaches 100%
Implies ordering execution such that:
Rate of fault detection is increased
Amount of time to perform
regression is reduced
Elimination of unnecessary test cases during
regression
runs

Why Is Test Case Optimization


Important?
Execution complexity
Elapsed time to execute
Computing resources
Wait time for test completion
Late defect detection and
correction

Who Develops Test Cases?


Developers
Dedicated quality assurance staf
Automated test generation
techniques

Software Development Life


Cycle (SDLC)

SDLC stands for Software Development Life Cycle.


It is a process that describes how to develop,
design and maintain the software project ensuring
that all the functional & user requirement, goals
and objective are met. For the creation of
innovative software products the development life
cycle undergoes diferent phases.

Requirement Analysis phase.


Design phase.
Coding or Development phase.
Testing phase.
9

SDLC Flow Chart


SDLC
INITIAL PHASE

REQUIREMEN
T ANALYSIS

ANALYSISPHASE

DESIGN

LOW
LEVEL
HIGH
LEVEL

FEASIBILITY
PLANNING

BROAD
PLANNING

TECHNOLOGY
SELECTION

REQUIREMENT
ANALYSIS

DEVELOPMENT

TESTING

DEPLOYMENT

MAINTENANCE

10

Quality
Quality means conformance to requirements
The best testers can only catch defects that are
contrary to specification.
Testing does not make the software perfect.
If an organization does not have good
requirements engineering practices then it will
be very hard to deliver software that fills the
users needs, because the product team does
not really know what those needs are.
11

Test Automation
Test automation is a practice in which
testers employ a software tool to reduce
or eliminate repetitive tasks.
Testers either write scripts or use record-andplayback
to capture user interactions with the
software being
tested.
This can save the testers a lot of time if many
iterations
of testing will be required.
It costs a lot to develop and maintain
automated test

12

Example
Test Requirements Identified (among
others):
Validate that you can insert an entry

Validate that insertion fails if entry already


present
Validate that insertion fails if table already
full
Validate that you can insert an entry to an
empty table (initial)
13

Drilling Down
First, Lets look
at this relationship:
Whats within our
testing process

Business
Requirement

Test
Requirement

Then well look


at this relationship:
Gernerating TRs
from what feeds into
our testing process
14

Test
Scenarios/
Cases
Test
Procedure/
Scripts

conclusion
Increased the rate of early fault detection
and
correction
Find bugs early so they can be corrected
early
Regression test only those areas that have
changed
Reduce the amount of time to execute full
15
unit regression test suites

Reference
www.researchgate.net
www.springer.com
www.sciencedirect.com

16

17

Happy Testing!

18

Potrebbero piacerti anche