das & das
TRANSCRIPT
1
TEST CASE OPTIMIZATION
NAME : RABINDRA DASDEPT : COMPUTER SCIENCE ENGINEERINGREGD : 1301298188
GUIDED BY : SUJIT KUMAR PANDA
GANDHI INSTITUTE FOR TECHNOLOGY
2
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. Conclusion
3
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
Introduction
4
What Is Test Case?
Testing is a process centered around the goal of
finding defects in a system
Test case:Set of input valuesSet of expected resultsHow to execute the test and check
resultsExpected post-conditions
4
5
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
6
Why Is Test Case Optimization Important?
Execution complexity Elapsed time to execute Computing resources Wait time for test completion Late defect detection and correction
7
Who Develops Test Cases?
Developers Dedicated quality assurance staff Automated test generation techniques
8
9
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 different phases.
• Requirement Analysis phase.• Design phase.• Coding or Development phase.• Testing phase.
10
SDLC Flow ChartSDLC
REQUIREMENT ANALYSIS
DESIGN
DEVELOPMENT
TESTING
DEPLOYMENT
MAINTENANCE
INITIAL PHASE
ANALYSISPHASE
REQUIREMENT ANALYSIS
TECHNOLOGY SELECTION
BROAD PLANNING
FEASIBILITY PLANNING
LOW LEVELHIGH LEVEL
11
QualityQuality 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.
12
Test AutomationTest automation is a practice in which testers employ a software tool to reduce or eliminate repetitive tasks.
Testers either write scripts or use record-and-playback 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 suites, so it is generally not worth developing them for tests that will executed only a few times.
Example
13
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)”
14
Drilling Down
BusinessRequirement
TestRequirement
Test Scenarios/
CasesTest
Procedure/Scripts
First, Let’s look at this relationship: What’s within our testing process
Then we’ll look at this relationship:Gernerating TR’sfrom what feeds intoour testing process
15
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 unit regression test suites
15
16
Referencewww.researchgate.netwww.springer.com
www.sciencedirect.com
17
18
Happy Testing!