13 14-test planning and management and rbt
DESCRIPTION
TRANSCRIPT
![Page 1: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/1.jpg)
Introduction to Test Planning, Process and Project
Management:Risk Based Testing
Prof Gopalaswamy [email protected]
![Page 2: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/2.jpg)
04/10/23 Test Planning and Management Slide : 2
Test Planning and Management:Agenda of the Session
Testing phase as a project Planning a testing project Test Management Test Process Test Reporting
![Page 3: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/3.jpg)
04/10/23 Test Planning and Management Slide : 3
Essential Reading http://www.testingeducation.org/BBST/BBSTRisk
-BasedTesting.html
Google search on “Risk Based testing” and read a few articles
Rest of the outline from Software Testing book…
![Page 4: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/4.jpg)
04/10/23 Test Planning and Management Slide : 4
Perspectives of a “Project”
Projects
Products Services
EngineeringActivities
“In-stream”Activities
“Umbrella”Activities
Technology
Process
People
![Page 5: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/5.jpg)
04/10/23 Test Planning and Management Slide : 5
Characteristics of a Project (in Software context)
Originates from organizational vision Focused in achieving a very specific requirement (to create a unique
product or service) Targeted, controlled execution (planned, executed and
controlled) Has a definite beginning and an end (temporary) Usually in a stand alone group (performed by people) Normally has to obey some constraints (budget, time …) and
dependencies Operates in the context of various stakeholders Life period ties back to product if applicable
All these apply to Testing also
![Page 6: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/6.jpg)
04/10/23 Test Planning and Management Slide : 6
Test Planning and Management:Agenda of the Session
Testing phase as a project Planning a testing project Test Management Test Process Test Reporting
![Page 7: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/7.jpg)
04/10/23 Test Planning and Management Slide : 7
Parts of Test Planning
Comm’nMgmt
RiskMgmt
Test WBS And
Scheduling
IdentifyingTest
Deliverables IdentifyingEnv needs
IdentifyingSkill sets /
Trng
SettingEntry / Exit
Criteria
DecidingTest
Strategy
ScopeMgmt
PreparingA TestPlan
Test Planning
Start Here
![Page 8: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/8.jpg)
04/10/23 Test Planning and Management Slide : 8
Scope Management
Understanding what constitutes a release / engagement Breaking down the release / engagement into features (may
be given to you already) Prioritizing the features for testing (may be given to you
already) Deciding which features will be tested and which will not be
(may be given to you already) Gathering details to prepare for estimation
![Page 9: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/9.jpg)
04/10/23 Test Planning and Management Slide : 9
Estimation
Challenges in Estimation for testing services Risk Based Testing as a method of scope
determination and resource allocation Briefly mentioning other scope determination /
resource allocation methods
![Page 10: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/10.jpg)
04/10/23 Test Planning and Management Slide : 10
Challenges in Testing Projects for Testing Services
Testing is done with incomplete information (compared to a product organization)
Testers are more insulated from developers Testing is a crunch time job Testing has no definite end and hence you need
to decide when to stop, but… Before you stop, you better have tested the right
things because… Testing is highly visible when incomplete or
ineffective!
![Page 11: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/11.jpg)
04/10/23 Test Planning and Management Slide : 11
What are the “right” things to test? Are you testing an entire product or some components? Which functions are critical for a product? Which functions are highly visible when they fail? Which functions have been highly error-prone? Which functions are most often used? Which functions are changed most often / recently? Which functions suffered turnover of employees? Where is high geographic distribution of work? Which functions require new skills / technology?
![Page 12: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/12.jpg)
04/10/23 Test Planning and Management Slide : 12
Risk Based Testing –Basic Principles
Is a method to objectively decide the scope of testing to maximize effectiveness
Basic Premise # 1: Testing is never exhaustive – Dijkstra’s doctrine: “Program Testing can never prove
the absence of bugs – only their presence” Basic Premise #2: There is never enough time
for testing Basic Premise #3: The purpose of testing is to
find serious defects before customers find them, and find them early
Basic Premise #4: The purpose of testing is to minimize the impact of the risk of bugs
![Page 13: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/13.jpg)
04/10/23 Test Planning and Management Slide : 13
The Essence of Risk Based Testing
HowCould a program
Fail?
Can you DesignTests to make it
Fail this way
Evaluate theLikelihood &
Consequences
Prioritize &Develop Test cases
Risk Based Test Design
Risk Based Test Management
![Page 14: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/14.jpg)
04/10/23 Test Planning and Management Slide : 14
Visualizing How a Program Could Fail…
![Page 15: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/15.jpg)
04/10/23 Test Planning and Management Slide : 15
So the steps are… #1: Build a Risk Taxonomy #2: Prioritize the risks by likelihood and impact #3: Decide which are testable #4: Design and test those test cases which are
high priority and can be testable #5: Continually re-assess the risks and re-order
the list
![Page 16: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/16.jpg)
04/10/23 Test Planning and Management Slide : 16
Start with an organization-wide list of factors– An Initial “Risk Brainstorming” to go into your Process
Database
Add project-specific failure types– Do the “Risk Brainstorming” as a part of the Project
Initiation
Update as needed from industry-standard taxonomy lists available
Building a “Risk Taxonomy” or“Risk Catalog” How
Could a program
Fail?
![Page 17: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/17.jpg)
04/10/23 Test Planning and Management Slide : 17
Risk/Bug Taxonomy:Organization-wide Risks
Infrastructure Attrition / People Factors Distribution of team in multiple locations …
![Page 18: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/18.jpg)
04/10/23 Test Planning and Management Slide : 18
Risk/Bug Taxonomy:Project Specific Risk Factors
New technology / environment / version New people Customer-specific risks Third party code
![Page 19: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/19.jpg)
04/10/23 Test Planning and Management Slide : 19
Risk/Bug Taxonomy:Identifying specific ways how products can break
“Installer” (or Installation product)– Wrong files installed– Temp files left behind– Required files missing– Extra files installed– Installation in wrong location– Older files replace newer files– User data loss– Affects other applications
![Page 20: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/20.jpg)
04/10/23 Test Planning and Management Slide : 20
Risk / Bug Taxonomy:Categorize Risks
Categorization groups “logical” risks together Categorization can be by
– Function (Validation, Reporting, etc.)– Functional Area (Order Processing, AP, etc.)– Quality Characteristic (Visibility, Reliability, etc.)
![Page 21: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/21.jpg)
04/10/23 Test Planning and Management Slide : 21
Risk/Bug Taxonomy:Check with Industry Standard Lists
![Page 22: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/22.jpg)
04/10/23 Test Planning and Management Slide : 22
Prioritize the List of Possible Defects Ways to Prioritize
– By Usage Frequency– By Visibility of Failure– By Impact on Business– By complexity of function– …
Any dimension(s) you use should eventually result in a scale of 1 to n (typically 1-5) for likelihood and a similar scale for impact
The risk value is likelihood * impact
![Page 23: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/23.jpg)
04/10/23 Test Planning and Management Slide : 23
Another Method of Identifying the Risk Prone Areas to be Tested
Identify the characteristics to be tested (Functionality, Reliability, Usability, Maintainability and Portability)
Alternatively, identify the functional areas / functions to be tested
Divide a fixed booty of 100 points across these characteristics
![Page 24: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/24.jpg)
04/10/23 Test Planning and Management Slide : 24
What do you do when you don’t know anything about the product?
Take a breadth-first view A little of everything Use the information gained to fine tune
![Page 25: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/25.jpg)
04/10/23 Test Planning and Management Slide : 25
Some Other Methods of Scope Determination / Estimation
Estimating with Use Case Points– http://www.methodsandtools.com/archive/archive.php
?id=25
Requirements Based Testing – http://www.stsc.hill.af.mil/CrossTalk/2003/03/mogyoro
di.pdf
Test Driven Development– http://www.agiledata.org/essays/tdd.html
![Page 26: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/26.jpg)
04/10/23 Test Planning and Management Slide : 26
Having Got The Scope of Testing…
![Page 27: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/27.jpg)
04/10/23 Test Planning and Management Slide : 27
Deciding the test approach / strategy for the chosen features
What type of testing would you use for testing the functionality of each feature?
What are the configurations or scenarios for testing the features?
What integration testing would you do to ensure these features work together?
What localization validations would be needed? What “non functional” tests would you need to do?
![Page 28: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/28.jpg)
04/10/23 Test Planning and Management Slide : 28
Setting up criteria for testing Criteria can be at phase level
– See example in page 143, 163, 164 Entry Criteria
– Parallelism Vs Ready for use Exit Criteria
– Completeness Vs Risk of release Suspension Criteria
– Show stopper bugs– Crossing a threshold number of bugs– Developers producing a new version making the old one
redundant Resumption Criteria
– Above hurdles being cleared
![Page 29: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/29.jpg)
04/10/23 Test Planning and Management Slide : 29
Identifying Test Deliverables The test plan (master test plan, and various other
test plans for the project) Test case design specifications Test cases, including any automation that is
specified in the plan Test logs produced by running the tests Test Summary Reports
![Page 30: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/30.jpg)
04/10/23 Test Planning and Management Slide : 30
Activity Breakdown and Scheduling
![Page 31: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/31.jpg)
04/10/23 Test Planning and Management Slide : 31
Scheduling of Activities Identifying external and internal dependencies among
the activities Sequencing the activities, based on the expected
duration as well as on the dependencies Identifying the time required for each of the WBS
activities, taking into account the above two factors. Monitoring the progress in terms of time and effort Rebalancing the schedules and resources as necessary
![Page 32: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/32.jpg)
04/10/23 Test Planning and Management Slide : 32
External Dependencies Availability of the product from developers Hiring Training Acquisition of hardware / software required for
training Availability of translated message files for testing
![Page 33: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/33.jpg)
04/10/23 Test Planning and Management Slide : 33
Internal Dependencies for Testing
Completing the test specification Coding / scripting the tests Executing the tests
![Page 34: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/34.jpg)
04/10/23 Test Planning and Management Slide : 34
Parallelism Constraints for Testing
Machines People Software dependency Test serialization
![Page 35: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/35.jpg)
04/10/23 Test Planning and Management Slide : 35
Test Planning and Management:Agenda of the Session
Testing phase as a project Planning a testing project Test Management Test Process Test Reporting
![Page 36: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/36.jpg)
04/10/23 Test Planning and Management Slide : 36
Test Management
IntegratingWith
ProductRelease
PeopleMgmt
TestInfrastructure
Mgmt
TechnologyMgmt
Test Mgmt
![Page 37: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/37.jpg)
04/10/23 Test Planning and Management Slide : 37
Test Technology Management
Naming and storage conventions for test artifacts– Product functionality --- Test suites mapping– Documentation standards– Test coding standards– Test reporting standards (covered separately)
![Page 38: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/38.jpg)
04/10/23 Test Planning and Management Slide : 38
Test Infrastructure Management
![Page 39: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/39.jpg)
04/10/23 Test Planning and Management Slide : 39
![Page 40: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/40.jpg)
04/10/23 Test Planning and Management Slide : 40
People Management(Covered in more detail next session)
![Page 41: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/41.jpg)
04/10/23 Test Planning and Management Slide : 41
Integrating with Product Release
Sync points between development and testing as to when the different types of testing can commence. For example, when integration testing could start, when system testing start, etc could.
Service Level Agreements between development and testing as to how long kit would take for the testing team to complete the testing
Consistent definitions of the various priorities and severities of the defects
Communication mechanisms to the documentation group to ensure that the documentation is kept in sync with the product in terms of known defects, workarounds, etc.
![Page 42: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/42.jpg)
04/10/23 Test Planning and Management Slide : 42
Test Planning and Management:Agenda of the Session
Testing phase as a project Planning a testing project Test Management Test Process Test Reporting
![Page 43: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/43.jpg)
04/10/23 Test Planning and Management Slide : 43
Test Process Putting together and baselining a Test Plan (discussion of template) Getting detailed test specifications
– Purpose of test– Items being tested, with their version numbers– Environmental setup needed– Input data required– Steps to be followed– Expected results– Any relationship to other tests
Update of RTM Identifying possible automation candidates Developing and baselining test cases Executing tests and keeping RTM and DR current Collecting and analyzing metrics (next session) Preparation of Test Summary Report (refer IEEE template and two
slides later) Recommending product release criteria
![Page 44: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/44.jpg)
04/10/23 Test Planning and Management Slide : 44
Test Planning and Management:Agenda of the Session
Testing phase as a project Planning a testing project Test Management Test Process Test Reporting
![Page 45: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/45.jpg)
04/10/23 Test Planning and Management Slide : 45
Test Reporting Test Incidence Report
– Update to DR– Id, product info, component info, defect description, fix info,
etc Test Cycle Report
– a summary of the activities carried out during that cycle – defects that were uncovered during that cycle, based on
their severity and impact– progress from the previous cycle to the current cycle, in
terms of defects fixed– outstanding defects that are yet to be fixed in this cycle– any variations observed in effort or schedule (that can be
used for future Test Summary Report – phase-wise summary and final test
summary
![Page 46: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/46.jpg)
04/10/23 Test Planning and Management Slide : 46
Test Summary Report A summary of the activities carried out during the test cycle or phase. Variance of the activities carried out from the activities planned. This
includes – the tests that were planned to be run but could not be run (with
reasons),– modifications to tests from what was in the original test
specifications (in this case, the TCDB should be updated)– additional tests that were run (that were not in the original test
plan), – differences in effort and time taken between what was planned
and what was executed– any other deviations from plan
Summary of results– tests that failed, with any root cause descriptions – severity of impact of the defects uncovered by the tests
Comprehensive assessment and recommendation for release– “Fit for release” assessment
Recommendation of release
![Page 47: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/47.jpg)
04/10/23 Test Planning and Management Slide : 47
Recommendation for Release Dijkstra’s Doctrine Again! Testing team gives management (and customer)
an idea of what defects exist and what risks to be expected
Management makes a final call whether to release as is or expend extra resources to fix the reported defects
![Page 48: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/48.jpg)
04/10/23 Test Planning and Management Slide : 48
Test Planning and Management:Agenda of the Session
Testing phase as a project Planning a testing project Test Management Test Process Test Reporting
![Page 49: 13 14-test planning and management and rbt](https://reader033.vdocuments.us/reader033/viewer/2022061206/54822d81b079591f0c8b4701/html5/thumbnails/49.jpg)
04/10/23 Test Planning and Management Slide : 49
Test Planning and Management:Agenda of the Session - Recap
Testing phase as a project Planning a testing project Test Management Test Process Test Reporting