SlideShare a Scribd company logo
WELCOME TO
VIBRANT
TECHNOLOGIES
AND COMPUTER
Vibrant Technology & computers
Vashi,Navi Mumbai 1
Vibrant Technology & computers
Vashi,Navi Mumbai 2
Observations about Testing
 “Testing is the process of executing a
program with the intention of finding
errors.” – Myers
 “Testing can show the presence of bugs
but never their absence.” - Dijkstra
Vibrant Technology & computers
Vashi,Navi Mumbai 3
Good Testing Practices
 A good test case is one that has a high
probability of detecting an undiscovered
defect, not one that shows that the
program works correctly
 It is impossible to test your own program
 A necessary part of every test case is a
description of the expected result
Vibrant Technology & computers
Vashi,Navi Mumbai 4
Good Testing Practices (cont’d)
 Avoid nonreproducible or on-the-fly
testing
 Write test cases for valid as well as invalid
input conditions.
 Thoroughly inspect the results of each
test
 As the number of detected defects in a
piece of software increases, the
probability of the existence of more
undetected defects also increases
Vibrant Technology & computers
Vashi,Navi Mumbai 5
Good Testing Practices (cont’d)
 Assign your best people to testing
 Ensure that testability is a key objective in
your software design
 Never alter the program to make testing
easier
 Testing, like almost every other activity,
must start with objectives
Vibrant Technology & computers
Vashi,Navi Mumbai 6
Levels of Testing
 Unit Testing
 Integration Testing
 Validation Testing
◦ Regression Testing
◦ Alpha Testing
◦ Beta Testing
 Acceptance Testing
Vibrant Technology & computers
Vashi,Navi Mumbai 7
Unit Testing
 Algorithms and logic
 Data structures (global and local)
 Interfaces
 Independent paths
 Boundary conditions
 Error handling
Vibrant Technology & computers
Vashi,Navi Mumbai 8
Why Integration Testing Is
Necessary
 One module can have an adverse effect
on another
 Subfunctions, when combined, may not
produce the desired major function
 Individually acceptable imprecision in
calculations may be magnified to
unacceptable levels
Vibrant Technology & computers
Vashi,Navi Mumbai 9
Why Integration Testing Is
Necessary (cont’d)
 Interfacing errors not detected in unit
testing may appear
 Timing problems (in real-time systems)
are not detectable by unit testing
 Resource contention problems are not
detectable by unit testing
Vibrant Technology & computers
Vashi,Navi Mumbai 10
Top-Down Integration
1. The main control module is used as a
driver, and stubs are substituted for all
modules directly subordinate to the
main module.
2. Depending on the integration approach
selected (depth or breadth first),
subordinate stubs are replaced by
modules one at a time.
Vibrant Technology & computers
Vashi,Navi Mumbai 11
Top-Down Integration (cont’d)
3. Tests are run as each individual module
is integrated.
4. On the successful completion of a set of
tests, another stub is replaced with a
real module
5. Regression testing is performed to
ensure that errors have not developed
as result of integrating new modules
Vibrant Technology & computers
Vashi,Navi Mumbai 12
Problems with Top-Down
Integration
 Many times, calculations are performed in
the modules at the bottom of the
hierarchy
 Stubs typically do not pass data up to the
higher modules
 Delaying testing until lower-level modules
are ready usually results in integrating
many modules at the same time rather
than one at a time
 Developing stubs that can pass data up is
almost as much work as developing the
actual module
Vibrant Technology & computers
Vashi,Navi Mumbai 13
Bottom-Up Integration
 Integration begins with the lowest-level modules,
which are combined into clusters, or builds, that
perform a specific software subfunction
 Drivers (control programs developed as stubs)
are written to coordinate test case input and
output
 The cluster is tested
 Drivers are removed and clusters are combined
moving upward in the program structure
Vibrant Technology & computers
Vashi,Navi Mumbai 14
Problems with Bottom-Up
Integration
 The whole program does not exist
until the last module is integrated
 Timing and resource contention
problems are not found until late in
the process
Vibrant Technology & computers
Vashi,Navi Mumbai 15
Validation Testing
 Determine if the software meets all of the
requirements defined in the SRS
 Having written requirements is essential
 Regression testing is performed to
determine if the software still meets all of
its requirements in light of changes and
modifications to the software
 Regression testing involves selectively
repeating existing validation tests, not
developing new tests
Vibrant Technology & computers
Vashi,Navi Mumbai 16
Alpha and Beta Testing
 It’s best to provide customers with an
outline of the things that you would like
them to focus on and specific test
scenarios for them to execute.
 Provide with customers who are actively
involved with a commitment to fix defects
that they discover.
Vibrant Technology & computers
Vashi,Navi Mumbai 17
Acceptance Testing
 Similar to validation testing except
that customers are present or
directly involved.
 Usually the tests are developed by
the customer
Vibrant Technology & computers
Vashi,Navi Mumbai 18
Test Methods
 White box or glass box testing
 Black box testing
 Top-down and bottom-up for performing
incremental integration
 ALAC (Act-like-a-customer)
Vibrant Technology & computers
Vashi,Navi Mumbai 19
Test Types
 Functional tests
 Algorithmic tests
 Positive tests
 Negative tests
 Usability tests
 Boundary tests
 Startup/shutdown tests
 Platform tests
 Load/stress tests
Vibrant Technology & computers
Vashi,Navi Mumbai 20
Concurrent Development/
Validation Testing Model
 Conduct informal validation while development
is still going on
 Provides an opportunity for validation tests to
be developed and debugged early in the
software development process
 Provides early feedback to software engineers
 Results in formal validation being less eventful,
since most of the problems have already been
found and fixed
Vibrant Technology & computers
Vashi,Navi Mumbai 21
Validation Readiness Review
 During informal validation developers can
make any changes needed in order to
comply with the SRS.
 During informal validation QA runs tests
and makes changes as necessary in order
for tests to comply with the SRS.
Vibrant Technology & computers
Vashi,Navi Mumbai 22
Validation Readiness Review
(cont’d)
 During formal validation the only changes
that can be made are bug fixes in
response to bugs reported during formal
validation testing. No new features can be
added at this time.
 During formal validation the same set of
tests run during informal validation is run
again. No new tests are added.
Vibrant Technology & computers
Vashi,Navi Mumbai 23
Entrance Criteria for Formal
Validation Testing
 Software development is completed (a
precise definition of “completed” is
required.
 The test plan has been reviewed,
approved and is under document
control.
 A requirements inspection has been
performed on the SRS.
 Design inspections have been
performed on the SDDs (Software
Design Descriptions). Vibrant Technology & computers
Vashi,Navi Mumbai 24
Entrance Criteria for Formal
Validation Testing (cont’d)
 Code inspections have been performed
on all “critical modules”.
 All test scripts are completed and the
software validation test procedure
document has been reviewed,
approved, and placed under document
control.
 Selected test scripts have been
reviewed, approved and placed under
document control. Vibrant Technology & computers
Vashi,Navi Mumbai 25
Entrance Criteria for Formal
Validation Testing (cont’d)
 All test scripts have been executed at
least once.
 CM tools are in place and all source
code is under configuration control.
 Software problem reporting procedures
are in place.
 Validation testing completion criteria
have been developed, reviewed, and
approved.
Vibrant Technology & computers
Vashi,Navi Mumbai 26
Formal Validation
 The same tests that were run during
informal validation are executed again
and the results recorded.
 Software Problem Reports (SPRs) are
submitted for each test that fails.
 SPR tracking is performed and includes
the status of all SPRs ( i.e., open, fixed,
verified, deferred, not a bug)
Vibrant Technology & computers
Vashi,Navi Mumbai 27
Formal Validation (cont’d)
 For each bug fixed, the SPR identifies the
modules that were changed to fix the
bug.
 Baseline change assessment is used to
ensure only modules that should have
changed have changed and no new
features have slipped in.
 Informal code reviews are selectively
conducted on changed modules to ensure
that new bugs are not being introduced.
Vibrant Technology & computers
Vashi,Navi Mumbai 28
Formal Validation (cont’d)
 Time required to find and fix bugs (find-
fix cycle time) is tracked.
 Regression testing is performed using
the following guidelines:
◦ Use complexity measures to help determine
which modules may need additional testing
◦ Use judgment to decide which tests to be
rerun
◦ Base decision on knowledge of software
design and past history
Vibrant Technology & computers
Vashi,Navi Mumbai 29
Formal Validation (cont’d)
 Track test status (i.e., passed, failed, or
not run).
 Record cumulative test time
(cumulative hours of actual testing) for
software reliability growth tracking.
Vibrant Technology & computers
Vashi,Navi Mumbai 30
Exit Criteria for Validation Testing
 All test scripts have been executed.
 All SPRs have been satisfactorily
resolved. (Resolution could include bugs
being fixed, deferred to a later release,
determined not to be bugs, etc.) All
parties must agree to the resolution.
This criterion could be further defined
to state that all high-priority bugs must
be fixed while lower-priority bugs can
be handled on a case-by-case basis.
Vibrant Technology & computers
Vashi,Navi Mumbai 31
Exit Criteria for Validation Testing
(cont’d)
 All changes made as a result of SPRs
have been tested.
 All documentation associated with the
software (such as SRS, SDD, test
documents) have been updated to
reflect changes made during validation
testing.
 The test report has been reviewed and
approved.
Vibrant Technology & computers
Vashi,Navi Mumbai 32
Test Planning
 The Test Plan – defines the scope of the
work to be performed
 The Test Procedure – a container
document that holds all of the individual
tests (test scripts) that are to be executed
 The Test Report – documents what
occurred when the test scripts were run
Vibrant Technology & computers
Vashi,Navi Mumbai 33
Test Plan
 Questions to be answered:
◦ How many tests are needed?
◦ How long will it take to develop those tests?
◦ How long will it take to execute those tests?
 Topics to be addressed:
◦ Test estimation
◦ Test development and informal validation
◦ Validation readiness review and formal
validation
◦ Test completion criteria
Vibrant Technology & computers
Vashi,Navi Mumbai 34
Test Estimation
 Number of test cases required is based
on:
◦ Testing all functions and features in the SRS
◦ Including an appropriate number of ALAC
(Act Like A Customer) tests including:
 Do it wrong
 Use wrong or illegal combination of inputs
 Don’t do enough
 Do nothing
 Do too much
◦ Achieving some test coverage goal
◦ Achieving a software reliability goalVibrant Technology & computers
Vashi,Navi Mumbai 35
Considerations in
Test Estimation
 Test Complexity – It is better to have
many small tests that a few large ones.
 Different Platforms – Does testing need
to be modified for different platforms,
operating systems, etc.
 Automated or Manual Tests – Will
automated tests be developed?
Automated tests take more time to create
but do not require human intervention to
run.
Vibrant Technology & computers
Vashi,Navi Mumbai 36
Estimating Tests Required
Vibrant Technology & computers
Vashi,Navi Mumbai 37
SRS
Reference
Estimated
Number of
Tests
Required
Notes
4.1.1 3 2 positive and 1 negative test
4.1.2 2 2 automated tests
4.1.3 4 4 manual tests
4.1.4 5 1 boundary condition, 2 error
conditions, 2 usability tests
…
Total 165
Estimated Test Development Time
Estimated Number of Tests: 165
Average Test Development Time: 3.5
(person-hours/test)
Estimated Test Development Time:
577.5
(person-hours)
Vibrant Technology & computers
Vashi,Navi Mumbai 38
Estimated Test Execution Time
Estimated Number of Tests: 165
Average Test Execution Time: 1.5
(person-hours/test)
Estimated Test Execution Time: 247.5
(person-hours)
Estimated Regression Testing (50%): 123.75
(person-hours)
Total Estimated Test Execution Time: 371.25
(person-hours)
Vibrant Technology & computers
Vashi,Navi Mumbai 39
Test Procedure
 Collection of test scripts
 An integral part of each test script is the
expected results
 The Test Procedure document should
contain an unexecuted, clean copy of
every test so that the tests may be more
easily reused
Vibrant Technology & computers
Vashi,Navi Mumbai 40
Test Report
 Completed copy of each test script with
evidence that it was executed (i.e., dated
with the signature of the person who ran
the test)
 Copy of each SPR showing resolution
 List of open or unresolved SPRs
 Identification of SPRs found in each
baseline along with total number of SPRs
in each baseline
 Regression tests executed for each
software baseline
Vibrant Technology & computers
Vashi,Navi Mumbai 41
Validation Test Plan
IEEE – Standard 1012-1998
1. Overview
a. Organization
b. Tasks and Schedules
c. Responsibilities
d. Tools, Techniques, Methods
2. Processes
a. Management
b. Acquisition
c. Supply
d. Development
e. Operation
f. Maintenance
Vibrant Technology & computers
Vashi,Navi Mumbai 42
Validation Test Plan
IEEE – Standard 1012-1998 (cont’d)
3. Reporting Requirements
4. Administrative Requirements
5. Documentation Requirements
6. Resource Requirements
7. Completion Criteria
Vibrant Technology & computers
Vashi,Navi Mumbai 43
Vibrant Technology & computers
Vashi,Navi Mumbai 44
Thank You…
Vibrant Technology
&
Computer
Vashi,Navi mumbai
www.vibranttechnologies.co.in
“100% placementAssurancecourseinMumbai”
Vibrant Technology & computers
Vashi,Navi Mumbai 45

More Related Content

What's hot

Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
gueste730d5
 
Test Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredTest Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts covered
Sunil Kumar Gunasekaran
 
Interview questions and answers for quality assurance
Interview questions and answers for quality assuranceInterview questions and answers for quality assurance
Interview questions and answers for quality assurance
Garuda Trainings
 
Fundamentals of Testing 2
Fundamentals of Testing 2Fundamentals of Testing 2
Fundamentals of Testing 2
Hoang Nguyen
 
Software Engineering Overview
Software Engineering OverviewSoftware Engineering Overview
Software Engineering Overview
Prachi Sasankar
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
TOPS Technologies
 
Verification & Validation
Verification & ValidationVerification & Validation
Verification & Validation
Dhanasekaran Nagarajan
 
Software testing course - Manual
Software testing course - ManualSoftware testing course - Manual
Software testing course - Manual
Pankaj Dubey
 
Software Testing
Software TestingSoftware Testing
Software Testing
Mousmi Pawar
 
functional testing
functional testing functional testing
functional testing
bharathanche
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
Santosh Maranabasari
 
Seminar on Software Testing
Seminar on Software TestingSeminar on Software Testing
Seminar on Software Testing
Beat Fluri
 
Sdlc
SdlcSdlc
Software testing
Software testingSoftware testing
Software testing
Dhanasekaran Narayanaswamy
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
didev
 
Sftware Testing
Sftware TestingSftware Testing
Manual Testing
Manual TestingManual Testing
Manual Testing
Zeeshan Khan
 
Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3
Gurpreet singh
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 

What's hot (20)

Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 
Test Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredTest Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts covered
 
Interview questions and answers for quality assurance
Interview questions and answers for quality assuranceInterview questions and answers for quality assurance
Interview questions and answers for quality assurance
 
Fundamentals of Testing 2
Fundamentals of Testing 2Fundamentals of Testing 2
Fundamentals of Testing 2
 
Software Engineering Overview
Software Engineering OverviewSoftware Engineering Overview
Software Engineering Overview
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
Verification & Validation
Verification & ValidationVerification & Validation
Verification & Validation
 
Software testing course - Manual
Software testing course - ManualSoftware testing course - Manual
Software testing course - Manual
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
functional testing
functional testing functional testing
functional testing
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Seminar on Software Testing
Seminar on Software TestingSeminar on Software Testing
Seminar on Software Testing
 
Sdlc
SdlcSdlc
Sdlc
 
Software testing
Software testingSoftware testing
Software testing
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Sftware Testing
Sftware TestingSftware Testing
Sftware Testing
 
Manual Testing
Manual TestingManual Testing
Manual Testing
 
Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 

Viewers also liked

Catalogue chocolatcru pacari2012
Catalogue chocolatcru pacari2012Catalogue chocolatcru pacari2012
Catalogue chocolatcru pacari2012
hiyaneko
 
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deckMySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
Vladi Vexler
 
PLNOG15: Network Migration and Service Assurance using Smart SFP Modules - To...
PLNOG15: Network Migration and Service Assurance using Smart SFP Modules - To...PLNOG15: Network Migration and Service Assurance using Smart SFP Modules - To...
PLNOG15: Network Migration and Service Assurance using Smart SFP Modules - To...
PROIDEA
 
.
..
perl course-in-mumbai
 perl course-in-mumbai perl course-in-mumbai
perl course-in-mumbai
vibrantuser
 
perl course-in-mumbai
perl course-in-mumbaiperl course-in-mumbai
perl course-in-mumbai
vibrantuser
 
Tilefoniko sex-me-pantremenes
Tilefoniko sex-me-pantremenesTilefoniko sex-me-pantremenes
Tilefoniko sex-me-pantremenes
Soula Menegaki
 

Viewers also liked (7)

Catalogue chocolatcru pacari2012
Catalogue chocolatcru pacari2012Catalogue chocolatcru pacari2012
Catalogue chocolatcru pacari2012
 
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deckMySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
MySQL Visual Analysis and Scale-out Strategy definition - Webinar deck
 
PLNOG15: Network Migration and Service Assurance using Smart SFP Modules - To...
PLNOG15: Network Migration and Service Assurance using Smart SFP Modules - To...PLNOG15: Network Migration and Service Assurance using Smart SFP Modules - To...
PLNOG15: Network Migration and Service Assurance using Smart SFP Modules - To...
 
.
..
.
 
perl course-in-mumbai
 perl course-in-mumbai perl course-in-mumbai
perl course-in-mumbai
 
perl course-in-mumbai
perl course-in-mumbaiperl course-in-mumbai
perl course-in-mumbai
 
Tilefoniko sex-me-pantremenes
Tilefoniko sex-me-pantremenesTilefoniko sex-me-pantremenes
Tilefoniko sex-me-pantremenes
 

Similar to Software testing course_in_mumbai

Software test proposal
Software test proposalSoftware test proposal
Software test proposal
ManikandanRamanujam
 
Software testing2
Software testing2Software testing2
Software testing2
suneeth kumar
 
Software testing
Software testingSoftware testing
Software testing
Rakshitha Raviprakash
 
Demo1ghjkl
Demo1ghjklDemo1ghjkl
Demo1ghjkl
crazyvirtue
 
Software testing
Software testingSoftware testing
Software testing
YashasviSingh23
 
Software testing
Software testingSoftware testing
Software testing
suneeth kumar
 
Software testing
Software testingSoftware testing
Software testing
Brajesh Pandey
 
Software testing
Software testingSoftware testing
Software testing
Rtr Sasi Tharan
 
Software testing
Software testingSoftware testing
Software testing
Nitin Dhanuka
 
Sta unit 2(abimanyu)
Sta unit 2(abimanyu)Sta unit 2(abimanyu)
Sta unit 2(abimanyu)
Abhimanyu Mishra
 
Real Time software Training in Nagercoil
Real Time software Training in NagercoilReal Time software Training in Nagercoil
Real Time software Training in Nagercoil
jclick2
 
Testing strategies in Software Engineering
Testing strategies in Software EngineeringTesting strategies in Software Engineering
Testing strategies in Software Engineering
MuhammadTalha436
 
SDLCTesting
SDLCTestingSDLCTesting
SDLCTesting
Gavin Thys
 
Software Engineering unit 4
Software Engineering unit 4Software Engineering unit 4
Software Engineering unit 4
Abhimanyu Mishra
 
20MCE14_Software Testing and Quality Assurance Notes.pdf
20MCE14_Software Testing and Quality Assurance Notes.pdf20MCE14_Software Testing and Quality Assurance Notes.pdf
20MCE14_Software Testing and Quality Assurance Notes.pdf
DSIVABALASELVAMANIMC
 
Basic of Software Testing.pptx
Basic of Software Testing.pptxBasic of Software Testing.pptx
Basic of Software Testing.pptx
aparna14patil
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
Sophia Girls' College(Autonomous), Ajmer
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologies
Jhonny Jhon
 
Test plan
Test planTest plan
Test plan
Mahfuz1061
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Vikash Mishra
 

Similar to Software testing course_in_mumbai (20)

Software test proposal
Software test proposalSoftware test proposal
Software test proposal
 
Software testing2
Software testing2Software testing2
Software testing2
 
Software testing
Software testingSoftware testing
Software testing
 
Demo1ghjkl
Demo1ghjklDemo1ghjkl
Demo1ghjkl
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Sta unit 2(abimanyu)
Sta unit 2(abimanyu)Sta unit 2(abimanyu)
Sta unit 2(abimanyu)
 
Real Time software Training in Nagercoil
Real Time software Training in NagercoilReal Time software Training in Nagercoil
Real Time software Training in Nagercoil
 
Testing strategies in Software Engineering
Testing strategies in Software EngineeringTesting strategies in Software Engineering
Testing strategies in Software Engineering
 
SDLCTesting
SDLCTestingSDLCTesting
SDLCTesting
 
Software Engineering unit 4
Software Engineering unit 4Software Engineering unit 4
Software Engineering unit 4
 
20MCE14_Software Testing and Quality Assurance Notes.pdf
20MCE14_Software Testing and Quality Assurance Notes.pdf20MCE14_Software Testing and Quality Assurance Notes.pdf
20MCE14_Software Testing and Quality Assurance Notes.pdf
 
Basic of Software Testing.pptx
Basic of Software Testing.pptxBasic of Software Testing.pptx
Basic of Software Testing.pptx
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologies
 
Test plan
Test planTest plan
Test plan
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 

Recently uploaded

GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
Federico Razzoli
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 

Recently uploaded (20)

GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 

Software testing course_in_mumbai

  • 1. WELCOME TO VIBRANT TECHNOLOGIES AND COMPUTER Vibrant Technology & computers Vashi,Navi Mumbai 1
  • 2. Vibrant Technology & computers Vashi,Navi Mumbai 2
  • 3. Observations about Testing  “Testing is the process of executing a program with the intention of finding errors.” – Myers  “Testing can show the presence of bugs but never their absence.” - Dijkstra Vibrant Technology & computers Vashi,Navi Mumbai 3
  • 4. Good Testing Practices  A good test case is one that has a high probability of detecting an undiscovered defect, not one that shows that the program works correctly  It is impossible to test your own program  A necessary part of every test case is a description of the expected result Vibrant Technology & computers Vashi,Navi Mumbai 4
  • 5. Good Testing Practices (cont’d)  Avoid nonreproducible or on-the-fly testing  Write test cases for valid as well as invalid input conditions.  Thoroughly inspect the results of each test  As the number of detected defects in a piece of software increases, the probability of the existence of more undetected defects also increases Vibrant Technology & computers Vashi,Navi Mumbai 5
  • 6. Good Testing Practices (cont’d)  Assign your best people to testing  Ensure that testability is a key objective in your software design  Never alter the program to make testing easier  Testing, like almost every other activity, must start with objectives Vibrant Technology & computers Vashi,Navi Mumbai 6
  • 7. Levels of Testing  Unit Testing  Integration Testing  Validation Testing ◦ Regression Testing ◦ Alpha Testing ◦ Beta Testing  Acceptance Testing Vibrant Technology & computers Vashi,Navi Mumbai 7
  • 8. Unit Testing  Algorithms and logic  Data structures (global and local)  Interfaces  Independent paths  Boundary conditions  Error handling Vibrant Technology & computers Vashi,Navi Mumbai 8
  • 9. Why Integration Testing Is Necessary  One module can have an adverse effect on another  Subfunctions, when combined, may not produce the desired major function  Individually acceptable imprecision in calculations may be magnified to unacceptable levels Vibrant Technology & computers Vashi,Navi Mumbai 9
  • 10. Why Integration Testing Is Necessary (cont’d)  Interfacing errors not detected in unit testing may appear  Timing problems (in real-time systems) are not detectable by unit testing  Resource contention problems are not detectable by unit testing Vibrant Technology & computers Vashi,Navi Mumbai 10
  • 11. Top-Down Integration 1. The main control module is used as a driver, and stubs are substituted for all modules directly subordinate to the main module. 2. Depending on the integration approach selected (depth or breadth first), subordinate stubs are replaced by modules one at a time. Vibrant Technology & computers Vashi,Navi Mumbai 11
  • 12. Top-Down Integration (cont’d) 3. Tests are run as each individual module is integrated. 4. On the successful completion of a set of tests, another stub is replaced with a real module 5. Regression testing is performed to ensure that errors have not developed as result of integrating new modules Vibrant Technology & computers Vashi,Navi Mumbai 12
  • 13. Problems with Top-Down Integration  Many times, calculations are performed in the modules at the bottom of the hierarchy  Stubs typically do not pass data up to the higher modules  Delaying testing until lower-level modules are ready usually results in integrating many modules at the same time rather than one at a time  Developing stubs that can pass data up is almost as much work as developing the actual module Vibrant Technology & computers Vashi,Navi Mumbai 13
  • 14. Bottom-Up Integration  Integration begins with the lowest-level modules, which are combined into clusters, or builds, that perform a specific software subfunction  Drivers (control programs developed as stubs) are written to coordinate test case input and output  The cluster is tested  Drivers are removed and clusters are combined moving upward in the program structure Vibrant Technology & computers Vashi,Navi Mumbai 14
  • 15. Problems with Bottom-Up Integration  The whole program does not exist until the last module is integrated  Timing and resource contention problems are not found until late in the process Vibrant Technology & computers Vashi,Navi Mumbai 15
  • 16. Validation Testing  Determine if the software meets all of the requirements defined in the SRS  Having written requirements is essential  Regression testing is performed to determine if the software still meets all of its requirements in light of changes and modifications to the software  Regression testing involves selectively repeating existing validation tests, not developing new tests Vibrant Technology & computers Vashi,Navi Mumbai 16
  • 17. Alpha and Beta Testing  It’s best to provide customers with an outline of the things that you would like them to focus on and specific test scenarios for them to execute.  Provide with customers who are actively involved with a commitment to fix defects that they discover. Vibrant Technology & computers Vashi,Navi Mumbai 17
  • 18. Acceptance Testing  Similar to validation testing except that customers are present or directly involved.  Usually the tests are developed by the customer Vibrant Technology & computers Vashi,Navi Mumbai 18
  • 19. Test Methods  White box or glass box testing  Black box testing  Top-down and bottom-up for performing incremental integration  ALAC (Act-like-a-customer) Vibrant Technology & computers Vashi,Navi Mumbai 19
  • 20. Test Types  Functional tests  Algorithmic tests  Positive tests  Negative tests  Usability tests  Boundary tests  Startup/shutdown tests  Platform tests  Load/stress tests Vibrant Technology & computers Vashi,Navi Mumbai 20
  • 21. Concurrent Development/ Validation Testing Model  Conduct informal validation while development is still going on  Provides an opportunity for validation tests to be developed and debugged early in the software development process  Provides early feedback to software engineers  Results in formal validation being less eventful, since most of the problems have already been found and fixed Vibrant Technology & computers Vashi,Navi Mumbai 21
  • 22. Validation Readiness Review  During informal validation developers can make any changes needed in order to comply with the SRS.  During informal validation QA runs tests and makes changes as necessary in order for tests to comply with the SRS. Vibrant Technology & computers Vashi,Navi Mumbai 22
  • 23. Validation Readiness Review (cont’d)  During formal validation the only changes that can be made are bug fixes in response to bugs reported during formal validation testing. No new features can be added at this time.  During formal validation the same set of tests run during informal validation is run again. No new tests are added. Vibrant Technology & computers Vashi,Navi Mumbai 23
  • 24. Entrance Criteria for Formal Validation Testing  Software development is completed (a precise definition of “completed” is required.  The test plan has been reviewed, approved and is under document control.  A requirements inspection has been performed on the SRS.  Design inspections have been performed on the SDDs (Software Design Descriptions). Vibrant Technology & computers Vashi,Navi Mumbai 24
  • 25. Entrance Criteria for Formal Validation Testing (cont’d)  Code inspections have been performed on all “critical modules”.  All test scripts are completed and the software validation test procedure document has been reviewed, approved, and placed under document control.  Selected test scripts have been reviewed, approved and placed under document control. Vibrant Technology & computers Vashi,Navi Mumbai 25
  • 26. Entrance Criteria for Formal Validation Testing (cont’d)  All test scripts have been executed at least once.  CM tools are in place and all source code is under configuration control.  Software problem reporting procedures are in place.  Validation testing completion criteria have been developed, reviewed, and approved. Vibrant Technology & computers Vashi,Navi Mumbai 26
  • 27. Formal Validation  The same tests that were run during informal validation are executed again and the results recorded.  Software Problem Reports (SPRs) are submitted for each test that fails.  SPR tracking is performed and includes the status of all SPRs ( i.e., open, fixed, verified, deferred, not a bug) Vibrant Technology & computers Vashi,Navi Mumbai 27
  • 28. Formal Validation (cont’d)  For each bug fixed, the SPR identifies the modules that were changed to fix the bug.  Baseline change assessment is used to ensure only modules that should have changed have changed and no new features have slipped in.  Informal code reviews are selectively conducted on changed modules to ensure that new bugs are not being introduced. Vibrant Technology & computers Vashi,Navi Mumbai 28
  • 29. Formal Validation (cont’d)  Time required to find and fix bugs (find- fix cycle time) is tracked.  Regression testing is performed using the following guidelines: ◦ Use complexity measures to help determine which modules may need additional testing ◦ Use judgment to decide which tests to be rerun ◦ Base decision on knowledge of software design and past history Vibrant Technology & computers Vashi,Navi Mumbai 29
  • 30. Formal Validation (cont’d)  Track test status (i.e., passed, failed, or not run).  Record cumulative test time (cumulative hours of actual testing) for software reliability growth tracking. Vibrant Technology & computers Vashi,Navi Mumbai 30
  • 31. Exit Criteria for Validation Testing  All test scripts have been executed.  All SPRs have been satisfactorily resolved. (Resolution could include bugs being fixed, deferred to a later release, determined not to be bugs, etc.) All parties must agree to the resolution. This criterion could be further defined to state that all high-priority bugs must be fixed while lower-priority bugs can be handled on a case-by-case basis. Vibrant Technology & computers Vashi,Navi Mumbai 31
  • 32. Exit Criteria for Validation Testing (cont’d)  All changes made as a result of SPRs have been tested.  All documentation associated with the software (such as SRS, SDD, test documents) have been updated to reflect changes made during validation testing.  The test report has been reviewed and approved. Vibrant Technology & computers Vashi,Navi Mumbai 32
  • 33. Test Planning  The Test Plan – defines the scope of the work to be performed  The Test Procedure – a container document that holds all of the individual tests (test scripts) that are to be executed  The Test Report – documents what occurred when the test scripts were run Vibrant Technology & computers Vashi,Navi Mumbai 33
  • 34. Test Plan  Questions to be answered: ◦ How many tests are needed? ◦ How long will it take to develop those tests? ◦ How long will it take to execute those tests?  Topics to be addressed: ◦ Test estimation ◦ Test development and informal validation ◦ Validation readiness review and formal validation ◦ Test completion criteria Vibrant Technology & computers Vashi,Navi Mumbai 34
  • 35. Test Estimation  Number of test cases required is based on: ◦ Testing all functions and features in the SRS ◦ Including an appropriate number of ALAC (Act Like A Customer) tests including:  Do it wrong  Use wrong or illegal combination of inputs  Don’t do enough  Do nothing  Do too much ◦ Achieving some test coverage goal ◦ Achieving a software reliability goalVibrant Technology & computers Vashi,Navi Mumbai 35
  • 36. Considerations in Test Estimation  Test Complexity – It is better to have many small tests that a few large ones.  Different Platforms – Does testing need to be modified for different platforms, operating systems, etc.  Automated or Manual Tests – Will automated tests be developed? Automated tests take more time to create but do not require human intervention to run. Vibrant Technology & computers Vashi,Navi Mumbai 36
  • 37. Estimating Tests Required Vibrant Technology & computers Vashi,Navi Mumbai 37 SRS Reference Estimated Number of Tests Required Notes 4.1.1 3 2 positive and 1 negative test 4.1.2 2 2 automated tests 4.1.3 4 4 manual tests 4.1.4 5 1 boundary condition, 2 error conditions, 2 usability tests … Total 165
  • 38. Estimated Test Development Time Estimated Number of Tests: 165 Average Test Development Time: 3.5 (person-hours/test) Estimated Test Development Time: 577.5 (person-hours) Vibrant Technology & computers Vashi,Navi Mumbai 38
  • 39. Estimated Test Execution Time Estimated Number of Tests: 165 Average Test Execution Time: 1.5 (person-hours/test) Estimated Test Execution Time: 247.5 (person-hours) Estimated Regression Testing (50%): 123.75 (person-hours) Total Estimated Test Execution Time: 371.25 (person-hours) Vibrant Technology & computers Vashi,Navi Mumbai 39
  • 40. Test Procedure  Collection of test scripts  An integral part of each test script is the expected results  The Test Procedure document should contain an unexecuted, clean copy of every test so that the tests may be more easily reused Vibrant Technology & computers Vashi,Navi Mumbai 40
  • 41. Test Report  Completed copy of each test script with evidence that it was executed (i.e., dated with the signature of the person who ran the test)  Copy of each SPR showing resolution  List of open or unresolved SPRs  Identification of SPRs found in each baseline along with total number of SPRs in each baseline  Regression tests executed for each software baseline Vibrant Technology & computers Vashi,Navi Mumbai 41
  • 42. Validation Test Plan IEEE – Standard 1012-1998 1. Overview a. Organization b. Tasks and Schedules c. Responsibilities d. Tools, Techniques, Methods 2. Processes a. Management b. Acquisition c. Supply d. Development e. Operation f. Maintenance Vibrant Technology & computers Vashi,Navi Mumbai 42
  • 43. Validation Test Plan IEEE – Standard 1012-1998 (cont’d) 3. Reporting Requirements 4. Administrative Requirements 5. Documentation Requirements 6. Resource Requirements 7. Completion Criteria Vibrant Technology & computers Vashi,Navi Mumbai 43
  • 44. Vibrant Technology & computers Vashi,Navi Mumbai 44
  • 45. Thank You… Vibrant Technology & Computer Vashi,Navi mumbai www.vibranttechnologies.co.in “100% placementAssurancecourseinMumbai” Vibrant Technology & computers Vashi,Navi Mumbai 45