das & das

18
TEST CASE OPTIMIZATION NAME : RABINDRA DAS DEPT : COMPUTER SCIENCE ENGINEERING REGD : 1301298188 GUIDED BY : SUJIT KUMAR PANDA GANDHI INSTITUTE FOR TECHNOLOGY 1

Upload: rabindra-das

Post on 11-Jul-2016

2 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Das & Das

1

TEST CASE OPTIMIZATION

NAME : RABINDRA DASDEPT : COMPUTER SCIENCE ENGINEERINGREGD : 1301298188

GUIDED BY : SUJIT KUMAR PANDA

GANDHI INSTITUTE FOR TECHNOLOGY

Page 2: Das & Das

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

Page 3: Das & Das

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

Page 4: Das & Das

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

Page 5: Das & Das

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

Page 6: Das & Das

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

Page 7: Das & Das

7

Who Develops Test Cases?

Developers Dedicated quality assurance staff Automated test generation techniques

Page 8: Das & Das

8

Page 9: Das & Das

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.

Page 10: Das & Das

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

Page 11: Das & Das

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.

Page 12: Das & Das

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.

Page 13: Das & Das

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)”

Page 14: Das & Das

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

Page 15: Das & Das

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

Page 16: Das & Das

16

Referencewww.researchgate.netwww.springer.com

www.sciencedirect.com

Page 17: Das & Das

17

Page 18: Das & Das

18

Happy Testing!