+ All Categories
Home > Education > Role+Of+Testing+In+Sdlc

Role+Of+Testing+In+Sdlc

Date post: 24-Apr-2015
Category:
Upload: mahendra-singh
View: 6,127 times
Download: 0 times
Share this document with a friend
Description:
this slide is useful for basic testing learners.
23
Presenter Name: Mahendra Siingh Role of Testing in SDLC December 7, 2007
Transcript
Page 1: Role+Of+Testing+In+Sdlc

Presenter Name: Mahendra Siingh

Role of Testing in SDLCDecember 7, 2007

Page 2: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 2 _Apr 11, 2023

Role of Testing in SDLC

""QualityQuality is free… is free… but only to those who are willing to pay heavily for it." but only to those who are willing to pay heavily for it."

(Lister, DeMarco: "Peopleware")(Lister, DeMarco: "Peopleware")

Rahul Agrawal

Radhu Gupta

Page 3: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 3 _Apr 11, 2023

Agenda

1. SDLC2. Software Process Models3. Software Test Life Cycle4. Test Plan5. Use Case6. Scenarios7. Test Cases8. Bug Life Cycle

Page 4: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 4 _Apr 11, 2023

SDLC (Software Development Life Cycle)

Software Process Models.

• Waterfall Model

• V-Model

SDLC is the process of developing information systems through investigation, analysis, SDLC is the process of developing information systems through investigation, analysis, design, implementation and maintenance.design, implementation and maintenance.

Page 5: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 5 _Apr 11, 2023

Waterfall Model

Limitation of Waterfall Model.

— Implies that given stage is to be completed before moving to next stage.

— The model makes no allowance for prototyping.

— The model implies that once the product is finished, everything else is in maintenance.

Design

Feasibility Study

Requirement Analysis

Implementation

Testing

Coding

Maintenance

Waterfall Model

•Software Metrics•SRS Format

Page 6: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 6 _Apr 11, 2023

V-MODEL

Page 7: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 7 _Apr 11, 2023

V-MODEL: Detailed View

Page 8: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 8 _Apr 11, 2023

Integrated Testing The V Model

Project Initiation

Finalization of Specs.

Finalization of Design

Coding

Build Software

Build System

Release for Use

Development Activity

Contract

Code Review

Design ReviewRevised Test Plan

Specs ReviewTest Plan

Product Quality

Info.

Functional Testing

Integration Testing

V & V Activities

.Verification guidelines

.Verification Procedures

.Validation guidelines

.Validation Procedure

Verification Validation

Page 9: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 9 _Apr 11, 2023

Software Testing Life Cycle

Page 10: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 10 _Apr 11, 2023

Test Plan

• Purpose

• Scope

• Test Strategy (Approach, Test Deliverables, etc.)

• Project Management

• Schedule

• Risk and Contingencies

•Test Plan Template of RSI

A document that defines the overall testing approach is called A document that defines the overall testing approach is called Test PlanTest Plan..

Page 11: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 11 _Apr 11, 2023

Test Strategy – Types of Testing

1. Unit Testing

It is a procedure used to validate that a particular module of source code is working properly.

2. Integration Testing

Testing two or more modules or functions together with the intent of finding interface defects between the modules or functions.

3. Functional Testing

Testing that ignores the internal mechanism of a system or component and focuses solely on the outputs generated in response to selected inputs and execution conditions.

4. System Testing

Testing that attempts to discover defects that are properties of the entire

system rather than of its individual components.

Page 12: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 12 _Apr 11, 2023

Types of Testing – System1. Usability Testing

2. Performance Testing (Load, Stress and Volume)

3. Smoke and Sanity Testing

4. Monkey and Gorilla testing

5. Ad-hoc Testing

6. Exploratory Testing

7. Regression Testing

8. Installation Testing

9. Globalization Testing

10. Localization Testing

11. Security Testing

12. Compatibility Testing

13. Configuration Testing

14. Reliability testing

15. Acceptance Testing (Alpha, Beta..)

Page 13: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 13 _Apr 11, 2023

Use Case

Use Case: is a technique for capturing

functional requirement of systems and system

of-systems

Benefits of Use Case:

•HLD Review•LLD Review

• Use cases have proved to be easily understandable by business users, and so have proven an excellent

bridge between software developers and end users.

• Test Cases(System, User Acceptance and Functional)can be directly derived from the use cases

Page 14: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 14 _Apr 11, 2023

Template of Use Case

Page 15: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 15 _Apr 11, 2023

Test Deliverables - Scenarios

A A scenarioscenario is an instance of a use case, and represents a single path through the use case. is an instance of a use case, and represents a single path through the use case.

• One may construct a scenario for the main flow through the use case

• Scenarios for each possible variation of flow through the use case (e.g.,

triggered by options, error conditions, security breaches, etc.).

• Scenarios may be depicted using sequence diagrams.

Page 16: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 16 _Apr 11, 2023

Extracting Scenarios from Use Cases

Valid Valid Pass

Valid Invalid Fail

Valid Blank Fail

Invalid Invalid Fail

Invalid Blank Fail

Invalid Valid Fail

Blank Valid Fail

Blank Invalid Fail

Blank Blank Fail

User Id Password Status

Page 17: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 17 _Apr 11, 2023

Test Cases

• Preparation of Test Case and RTM• Review of Test Cases• Execution of Test Case

•Test Case Review Check List

Set of procedures in order to find out the defects according to Client’s Requirements.Set of procedures in order to find out the defects according to Client’s Requirements.

Page 18: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 18 _Apr 11, 2023

Test Cases – Testing Techniques

• Equivalence Partitioning• Boundary Value Analysis• Error Guessing

Page 19: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 19 _Apr 11, 2023

Equivalence Partitioning

A subset of data that is representative of a larger classA subset of data that is representative of a larger class

For example, a program which edits credit limits within a given range ($10,000 - $15,000) would have 3 equivalence classes:

• Less than $10,000 (invalid)

• Between $10,000 and $15,000 (valid)

• Greater than $15,000 (invalid)

Page 20: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 20 _Apr 11, 2023

Boundary Analysis

A technique that consists of developing test cases and data that focus on the input and A technique that consists of developing test cases and data that focus on the input and output boundaries of a given functionoutput boundaries of a given function

In the same credit limit example, boundary analysis would test:

• Low boundary plus or minus one ($9,999 and $10,001)

• On the boundary ($10,000 and $15,000)

• Upper boundary plus or minus one ($14,999 and $15,001)

Page 21: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 21 _Apr 11, 2023

Error Guessing

For example, in an example where one of the inputs is the date, a test engineer might try February 29,2000 or 9/9/99

Based on the theory that test cases can be developed based on experience of the Test EngineerBased on the theory that test cases can be developed based on experience of the Test Engineer

Page 22: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 22 _Apr 11, 2023

BUG Life Cycle

Page 23: Role+Of+Testing+In+Sdlc

© 2006, XL Capital Ltd. All rights reserved Page 23 _Apr 11, 2023

Thanks!!!!

Looking for the feedback at:

[email protected][email protected]


Recommended