SlideShare a Scribd company logo
1 of 11
Download to read offline
Software Testing
i
Software Testing
ii
AbouttheTutorial
Testing is the process of evaluating a system or its component(s) with the intent to find whether it
satisfies the specified requirements or not.
Testing is executing a system in order to identify any gaps, errors, or missing requirements in
contrary to the actual requirements.
This tutorial will give you a basic understanding on software testing, its types, methods, levels, and
other related terminologies.
Audience
This tutorial is designed for software testing professionals who would like to understand the Testing
Framework in detail along with its types, methods, and levels. This tutorial provides enough
ingredients to start with the software testing process from where you can take yourself to higher
levels of expertise.
Prerequisites
Before proceeding with this tutorial, you should have a basic understanding of the software
development life cycle (SDLC). In addition, you should have a basic understanding of software
programming using any programming language.
Copyright&Disclaimer
๏ƒฃ Copyright 2018 by Tutorials Point (I) Pvt. Ltd.
All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd.
The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a
part of contents of this e-book in any manner without written consent of the publisher.
We strive to update the contents of our website and tutorials as timely and as precisely as possible,
however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no
guarantee regarding the accuracy, timeliness or completeness of our website or its contents
including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at
contact@tutorialspoint.com
Software Testing
iii
TableofContents
About the Tutorial ......................................................................................................................................1
Audience ....................................................................................................................................................1
Prerequisites ..............................................................................................................................................1
Copyright & Disclaimer...............................................................................................................................1
Table of Contents .......................................................................................................................................2
1. SOFTWARE TESTING โ€“ OVERVIEW...........................................................................................5
What is Testing? .........................................................................................................................................5
Who does Testing? .....................................................................................................................................5
When to Start Testing?...............................................................................................................................5
When to Stop Testing? ...............................................................................................................................6
Verification & Validation ............................................................................................................................6
2. SOFTWARE TESTING โ€“ MYTHS.................................................................................................7
3. SOFTWARE TESTING โ€“ QA, QC, AND TESTING .........................................................................9
Testing, Quality Assurance, and Quality Control.........................................................................................9
Audit and Inspection ..................................................................................................................................9
Testing and Debugging .............................................................................................................................10
4. SOFTWARE TESTING โ€“ ISO STANDARDS ................................................................................11
ISO/IEC 9126.............................................................................................................................................11
ISO/IEC 9241-11........................................................................................................................................11
ISO/IEC 25000:2005 ..................................................................................................................................11
ISO/IEC 12119...........................................................................................................................................12
Miscellaneous...........................................................................................................................................12
5. SOFTWARE TESTING โ€“ TYPES OF TESTING.............................................................................14
Manual Testing.........................................................................................................................................14
Software Testing
iv
Automation Testing..................................................................................................................................14
What to Automate?..................................................................................................................................14
When to Automate?.................................................................................................................................15
How to Automate? ...................................................................................................................................15
Software Testing Tools .............................................................................................................................15
6. SOFTWARE TESTING โ€“ TESTING METHODS ...........................................................................17
Black-Box Testing......................................................................................................................................17
White-Box Testing ....................................................................................................................................17
Grey-Box Testing ......................................................................................................................................18
A Comparison of Testing Methods............................................................................................................19
7. SOFTWARE TESTING โ€“ TESTING LEVELS.................................................................................20
Functional Testing ....................................................................................................................................20
Unit Testing ..............................................................................................................................................20
Integration Testing ...................................................................................................................................21
System Testing .........................................................................................................................................21
Regression Testing....................................................................................................................................22
Acceptance Testing...................................................................................................................................22
Non-Functional Testing.............................................................................................................................23
Usability Testing .......................................................................................................................................24
Security Testing ........................................................................................................................................25
Portability Testing ....................................................................................................................................26
8. SOFTWARE TESTING โ€“ DOCUMENTATION.............................................................................27
Test Plan...................................................................................................................................................27
Test Scenario ............................................................................................................................................27
Test Case ..................................................................................................................................................28
Traceability Matrix ...................................................................................................................................29
Software Testing
v
9. SOFTWARE TESTING โ€“ ESTIMATION TECHNIQUES ................................................................30
Functional Point Analysis..........................................................................................................................30
Test Point Analysis....................................................................................................................................30
Mark-II Method ........................................................................................................................................30
Miscellaneous...........................................................................................................................................30
Software Testing
1
WhatisTesting?
Testing is the process of evaluating a system or its component(s) with the intent to find whether it
satisfies the specified requirements or not. In simple words, testing is executing a system in order to
identify any gaps, errors, or missing requirements in contrary to the actual requirements.
According to ANSI/IEEE 1059 standard, Testing can be defined as - A process of analyzing a software
item to detect the differences between existing and required conditions (that is defects/errors/bugs)
and to evaluate the features of the software item.
WhodoesTesting?
It depends on the process and the associated stakeholders of the project(s). In the IT industry, large
companies have a team with responsibilities to evaluate the developed software in context of the
given requirements. Moreover, developers also conduct testing which is called Unit Testing. In most
cases, the following professionals are involved in testing a system within their respective capacities:
๏‚ท Software Tester
๏‚ท Software Developer
๏‚ท Project Lead/Manager
๏‚ท End User
Different companies have different designations for people who test the software on the basis of
their experience and knowledge such as Software Tester, Software Quality Assurance Engineer, QA
Analyst, etc.
It is not possible to test the software at any time during its cycle. The next two sections state when
testing should be started and when to end it during the SDLC.
WhentoStartTesting?
An early start to testing reduces the cost and time to rework and produce error-free software that is
delivered to the client. However in Software Development Life Cycle (SDLC), testing can be started
from the Requirements Gathering phase and continued till the deployment of the software.
It also depends on the development model that is being used. For example, in the Waterfall model,
formal testing is conducted in the testing phase; but in the incremental model, testing is performed
at the end of every increment/iteration and the whole application is tested at the end.
Testing is done in different forms at every phase of SDLC:
1. Software Testing โ€“ Overview
Software Testing
2
๏‚ท During the requirement gathering phase, the analysis and verification of requirements are
also considered as testing.
๏‚ท Reviewing the design in the design phase with the intent to improve the design is also
considered as testing.
๏‚ท Testing performed by a developer on completion of the code is also categorized as testing.
WhentoStopTesting?
It is difficult to determine when to stop testing, as testing is a never-ending process and no one can
claim that a software is 100% tested. The following aspects are to be considered for stopping the
testing process:
๏‚ท Testing Deadlines
๏‚ท Completion of test case execution
๏‚ท Completion of functional and code coverage to a certain point
๏‚ท Bug rate falls below a certain level and no high-priority bugs are identified
๏‚ท Management decision
Verification&Validation
These two terms are very confusing for most people, who use them interchangeably. The following
table highlights the differences between verification and validation.
S.N. Verification Validation
1 Verification addresses the concern: "Are
you building it right?"
Validation addresses the concern: "Are you
building the right thing?"
2 Ensures that the software system meets
all the functionality.
Ensures that the functionalities meet the
intended behavior.
3 Verification takes place first and includes
the checking for documentation, code,
etc.
Validation occurs after verification and
mainly involves the checking of the overall
product.
4 Done by developers. Done by testers.
Software Testing
3
5 It has static activities, as it includes
collecting reviews, walkthroughs, and
inspections to verify a software.
It has dynamic activities, as it includes
executing the software against the
requirements.
6 It is an objective process and no
subjective decision should be needed to
verify a software.
It is a subjective process and involves
subjective decisions on how well a software
works.
Software Testing
4
Given below are some of the most common myths about software testing.
Myth 1: Testing is Too Expensive
Reality: There is a saying, pay less for testing during software development or pay more for
maintenance or correction later. Early testing saves both time and cost in many aspects, however
reducing the cost without testing may result in improper design of a software application rendering
the product useless.
Myth 2: Testing is Time-Consuming
Reality: During the SDLC phases, testing is never a time-consuming process. However diagnosing and
fixing the errors identified during proper testing is a time-consuming but productive activity.
Myth 3: Only Fully Developed Products are Tested
Reality: No doubt, testing depends on the source code but reviewing requirements and developing
test cases is independent from the developed code. However iterative or incremental approach as a
development life cycle model may reduce the dependency of testing on the fully developed
software.
Myth 4: Complete Testing is Possible
Reality: It becomes an issue when a client or tester thinks that complete testing is possible. It is
possible that all paths have been tested by the team but occurrence of complete testing is never
possible. There might be some scenarios that are never executed by the test team or the client
during the software development life cycle and may be executed once the project has been
deployed.
Myth 5: A Tested Software is Bug-Free
Reality: This is a very common myth that the clients, project managers, and the management team
believes in. No one can claim with absolute certainty that a software application is 100% bug-free
even if a tester with superb testing skills has tested the application.
Myth 6: Missed Defects are due to Testers
Reality: It is not a correct approach to blame testers for bugs that remain in the application even
after testing has been performed. This myth relates to Time, Cost, and Requirements changing
Constraints. However the test strategy may also result in bugs being missed by the testing team.
2. Software Testing โ€“ Myths
Software Testing
5
Myth 7: Testers are Responsible for Quality of Product
Reality: It is a very common misinterpretation that only testers or the testing team should be
responsible for product quality. Testersโ€™ responsibilities include the identification of bugs to the
stakeholders and then it is their decision whether they will fix the bug or release the software.
Releasing the software at the time puts more pressure on the testers, as they will be blamed for any
error.
Myth 8: Test Automation should be used Wherever Possible to Reduce Time
Reality: Yes, it is true that Test Automation reduces the testing time, but it is not possible to start
test automation at any time during software development. Test automaton should be started when
the software has been manually tested and is stable to some extent. Moreover, test automation can
never be used if requirements keep changing.
Myth 9: Anyone can Test a Software Application
Reality: People outside the IT industry think and even believe that anyone can test a software and
testing is not a creative job. However testers know very well that this is a myth. Thinking alternative
scenarios, try to crash a software with the intent to explore potential bugs is not possible for the
person who developed it.
Myth 10: A Testerโ€™s Only Task is to Find Bugs
Reality: Finding bugs in a software is the task of the testers, but at the same time, they are domain
experts of the particular software. Developers are only responsible for the specific component or
area that is assigned to them but testers understand the overall workings of the software, what the
dependencies are, and the impacts of one module on another module.
Software Testing
6
End of ebook preview
If you liked what you sawโ€ฆ
Buy it from our store @ https://store.tutorialspoint.com

More Related Content

What's hot

Agile tutorial
Agile tutorialAgile tutorial
Agile tutorialHarikaReddy115
ย 
Design pattern tutorial
Design pattern tutorialDesign pattern tutorial
Design pattern tutorialPiyush Mittal
ย 
sotware testing curriculum
sotware testing curriculumsotware testing curriculum
sotware testing curriculumCassandra Allen
ย 
Artificial intelligence tutorial
Artificial intelligence tutorialArtificial intelligence tutorial
Artificial intelligence tutorialChigbu Frank Hanson
ย 
Artificial intelligence tutorial
Artificial intelligence tutorialArtificial intelligence tutorial
Artificial intelligence tutorialHarikaReddy115
ย 
Web languages
Web languagesWeb languages
Web languagesdinesh reddy
ย 
Skillsoft Project Combined - Final
Skillsoft Project Combined - FinalSkillsoft Project Combined - Final
Skillsoft Project Combined - FinalSkip Spoerke
ย 
Operating system tutorial
Operating system tutorialOperating system tutorial
Operating system tutorialHarikaReddy115
ย 
Sdlc tutorial
Sdlc tutorialSdlc tutorial
Sdlc tutorialHarikaReddy115
ย 
Core Skills Assessment Requirements Module 4.0
Core Skills Assessment Requirements Module 4.0Core Skills Assessment Requirements Module 4.0
Core Skills Assessment Requirements Module 4.0Deborah Obasogie
ย 
Mockito tutorial
Mockito tutorialMockito tutorial
Mockito tutorialHarikaReddy115
ย 
Tika tutorial
Tika tutorialTika tutorial
Tika tutorialAshoka Vanjare
ย 
Maven tutorial
Maven tutorialMaven tutorial
Maven tutorialJames Cellini
ย 
Certified penetration testing engineer (cpte) certified training - Adams Academy
Certified penetration testing engineer (cpte) certified training - Adams AcademyCertified penetration testing engineer (cpte) certified training - Adams Academy
Certified penetration testing engineer (cpte) certified training - Adams AcademyAdams Academy
ย 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginnersBharathi Ashok
ย 

What's hot (16)

Agile tutorial
Agile tutorialAgile tutorial
Agile tutorial
ย 
Design pattern tutorial
Design pattern tutorialDesign pattern tutorial
Design pattern tutorial
ย 
sotware testing curriculum
sotware testing curriculumsotware testing curriculum
sotware testing curriculum
ย 
Artificial intelligence tutorial
Artificial intelligence tutorialArtificial intelligence tutorial
Artificial intelligence tutorial
ย 
Artificial intelligence tutorial
Artificial intelligence tutorialArtificial intelligence tutorial
Artificial intelligence tutorial
ย 
Web languages
Web languagesWeb languages
Web languages
ย 
Skillsoft Project Combined - Final
Skillsoft Project Combined - FinalSkillsoft Project Combined - Final
Skillsoft Project Combined - Final
ย 
Operating system tutorial
Operating system tutorialOperating system tutorial
Operating system tutorial
ย 
Sdlc tutorial
Sdlc tutorialSdlc tutorial
Sdlc tutorial
ย 
Core Skills Assessment Requirements Module 4.0
Core Skills Assessment Requirements Module 4.0Core Skills Assessment Requirements Module 4.0
Core Skills Assessment Requirements Module 4.0
ย 
Mockito tutorial
Mockito tutorialMockito tutorial
Mockito tutorial
ย 
Tika tutorial
Tika tutorialTika tutorial
Tika tutorial
ย 
Sql tutorial
Sql tutorialSql tutorial
Sql tutorial
ย 
Maven tutorial
Maven tutorialMaven tutorial
Maven tutorial
ย 
Certified penetration testing engineer (cpte) certified training - Adams Academy
Certified penetration testing engineer (cpte) certified training - Adams AcademyCertified penetration testing engineer (cpte) certified training - Adams Academy
Certified penetration testing engineer (cpte) certified training - Adams Academy
ย 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginners
ย 

Similar to Software testing tutorial

Security testing tutorial
Security testing tutorialSecurity testing tutorial
Security testing tutorialHarikaReddy115
ย 
design_pattern_tutorial.pdf
design_pattern_tutorial.pdfdesign_pattern_tutorial.pdf
design_pattern_tutorial.pdfbadrfathallah2
ย 
Design pattern tutorial
Design pattern tutorialDesign pattern tutorial
Design pattern tutorialHarikaReddy115
ย 
Software quality management_tutorial
Software quality management_tutorialSoftware quality management_tutorial
Software quality management_tutorialHarikaReddy115
ย 
Software engineering
Software engineering Software engineering
Software engineering Pallav
ย 
Penetration testing tutorial
Penetration testing tutorialPenetration testing tutorial
Penetration testing tutorialHarikaReddy115
ย 
Stlc tutorial
Stlc tutorialStlc tutorial
Stlc tutorialHarikaReddy115
ย 
Supply chain management_tutorial
Supply chain management_tutorialSupply chain management_tutorial
Supply chain management_tutorialRenuSwarnkar1
ย 
Asp.net mvc tutorial
Asp.net mvc tutorialAsp.net mvc tutorial
Asp.net mvc tutorialHarikaReddy115
ย 
Javascript tutorial
Javascript tutorialJavascript tutorial
Javascript tutorialHarikaReddy115
ย 
javascript_tutorial.pdf
javascript_tutorial.pdfjavascript_tutorial.pdf
javascript_tutorial.pdfkaouthar20
ย 
System analysis and_design_tutorial
System analysis and_design_tutorialSystem analysis and_design_tutorial
System analysis and_design_tutorialHarikaReddy115
ย 
Javascript tutorial
Javascript tutorialJavascript tutorial
Javascript tutorialDoeun KOCH
ย 
Euphoria tutorials
Euphoria tutorialsEuphoria tutorials
Euphoria tutorialsHarikaReddy115
ย 
agile_tutorial.pdf
agile_tutorial.pdfagile_tutorial.pdf
agile_tutorial.pdfHODCA1
ย 
Computer security tutorial
Computer security tutorialComputer security tutorial
Computer security tutorialHarikaReddy115
ย 
Computer security tutorial
Computer security tutorialComputer security tutorial
Computer security tutorialiuvmtech
ย 
Software testing pdf
Software testing pdfSoftware testing pdf
Software testing pdfMounikaCh26
ย 

Similar to Software testing tutorial (20)

Security testing tutorial
Security testing tutorialSecurity testing tutorial
Security testing tutorial
ย 
design_pattern_tutorial.pdf
design_pattern_tutorial.pdfdesign_pattern_tutorial.pdf
design_pattern_tutorial.pdf
ย 
Design pattern tutorial
Design pattern tutorialDesign pattern tutorial
Design pattern tutorial
ย 
Software quality management_tutorial
Software quality management_tutorialSoftware quality management_tutorial
Software quality management_tutorial
ย 
Software Engineering Overview
Software Engineering Overview Software Engineering Overview
Software Engineering Overview
ย 
Software engineering
Software engineering Software engineering
Software engineering
ย 
Qc tutorial
Qc tutorialQc tutorial
Qc tutorial
ย 
Penetration testing tutorial
Penetration testing tutorialPenetration testing tutorial
Penetration testing tutorial
ย 
Stlc tutorial
Stlc tutorialStlc tutorial
Stlc tutorial
ย 
Supply chain management_tutorial
Supply chain management_tutorialSupply chain management_tutorial
Supply chain management_tutorial
ย 
Asp.net mvc tutorial
Asp.net mvc tutorialAsp.net mvc tutorial
Asp.net mvc tutorial
ย 
Javascript tutorial
Javascript tutorialJavascript tutorial
Javascript tutorial
ย 
javascript_tutorial.pdf
javascript_tutorial.pdfjavascript_tutorial.pdf
javascript_tutorial.pdf
ย 
System analysis and_design_tutorial
System analysis and_design_tutorialSystem analysis and_design_tutorial
System analysis and_design_tutorial
ย 
Javascript tutorial
Javascript tutorialJavascript tutorial
Javascript tutorial
ย 
Euphoria tutorials
Euphoria tutorialsEuphoria tutorials
Euphoria tutorials
ย 
agile_tutorial.pdf
agile_tutorial.pdfagile_tutorial.pdf
agile_tutorial.pdf
ย 
Computer security tutorial
Computer security tutorialComputer security tutorial
Computer security tutorial
ย 
Computer security tutorial
Computer security tutorialComputer security tutorial
Computer security tutorial
ย 
Software testing pdf
Software testing pdfSoftware testing pdf
Software testing pdf
ย 

More from HarikaReddy115

Dbms tutorial
Dbms tutorialDbms tutorial
Dbms tutorialHarikaReddy115
ย 
Data structures algorithms_tutorial
Data structures algorithms_tutorialData structures algorithms_tutorial
Data structures algorithms_tutorialHarikaReddy115
ย 
Wireless communication tutorial
Wireless communication tutorialWireless communication tutorial
Wireless communication tutorialHarikaReddy115
ย 
Cryptography tutorial
Cryptography tutorialCryptography tutorial
Cryptography tutorialHarikaReddy115
ย 
Cosmology tutorial
Cosmology tutorialCosmology tutorial
Cosmology tutorialHarikaReddy115
ย 
Control systems tutorial
Control systems tutorialControl systems tutorial
Control systems tutorialHarikaReddy115
ย 
Computer logical organization_tutorial
Computer logical organization_tutorialComputer logical organization_tutorial
Computer logical organization_tutorialHarikaReddy115
ย 
Computer fundamentals tutorial
Computer fundamentals tutorialComputer fundamentals tutorial
Computer fundamentals tutorialHarikaReddy115
ย 
Compiler design tutorial
Compiler design tutorialCompiler design tutorial
Compiler design tutorialHarikaReddy115
ย 
Communication technologies tutorial
Communication technologies tutorialCommunication technologies tutorial
Communication technologies tutorialHarikaReddy115
ย 
Biometrics tutorial
Biometrics tutorialBiometrics tutorial
Biometrics tutorialHarikaReddy115
ย 
Basics of computers_tutorial
Basics of computers_tutorialBasics of computers_tutorial
Basics of computers_tutorialHarikaReddy115
ย 
Basics of computer_science_tutorial
Basics of computer_science_tutorialBasics of computer_science_tutorial
Basics of computer_science_tutorialHarikaReddy115
ย 
Basic electronics tutorial
Basic electronics tutorialBasic electronics tutorial
Basic electronics tutorialHarikaReddy115
ย 
Auditing tutorial
Auditing tutorialAuditing tutorial
Auditing tutorialHarikaReddy115
ย 
Artificial neural network_tutorial
Artificial neural network_tutorialArtificial neural network_tutorial
Artificial neural network_tutorialHarikaReddy115
ย 
Artificial intelligence tutorial
Artificial intelligence tutorialArtificial intelligence tutorial
Artificial intelligence tutorialHarikaReddy115
ย 
Antenna theory tutorial
Antenna theory tutorialAntenna theory tutorial
Antenna theory tutorialHarikaReddy115
ย 
Analog communication tutorial
Analog communication tutorialAnalog communication tutorial
Analog communication tutorialHarikaReddy115
ย 
Amplifiers tutorial
Amplifiers tutorialAmplifiers tutorial
Amplifiers tutorialHarikaReddy115
ย 

More from HarikaReddy115 (20)

Dbms tutorial
Dbms tutorialDbms tutorial
Dbms tutorial
ย 
Data structures algorithms_tutorial
Data structures algorithms_tutorialData structures algorithms_tutorial
Data structures algorithms_tutorial
ย 
Wireless communication tutorial
Wireless communication tutorialWireless communication tutorial
Wireless communication tutorial
ย 
Cryptography tutorial
Cryptography tutorialCryptography tutorial
Cryptography tutorial
ย 
Cosmology tutorial
Cosmology tutorialCosmology tutorial
Cosmology tutorial
ย 
Control systems tutorial
Control systems tutorialControl systems tutorial
Control systems tutorial
ย 
Computer logical organization_tutorial
Computer logical organization_tutorialComputer logical organization_tutorial
Computer logical organization_tutorial
ย 
Computer fundamentals tutorial
Computer fundamentals tutorialComputer fundamentals tutorial
Computer fundamentals tutorial
ย 
Compiler design tutorial
Compiler design tutorialCompiler design tutorial
Compiler design tutorial
ย 
Communication technologies tutorial
Communication technologies tutorialCommunication technologies tutorial
Communication technologies tutorial
ย 
Biometrics tutorial
Biometrics tutorialBiometrics tutorial
Biometrics tutorial
ย 
Basics of computers_tutorial
Basics of computers_tutorialBasics of computers_tutorial
Basics of computers_tutorial
ย 
Basics of computer_science_tutorial
Basics of computer_science_tutorialBasics of computer_science_tutorial
Basics of computer_science_tutorial
ย 
Basic electronics tutorial
Basic electronics tutorialBasic electronics tutorial
Basic electronics tutorial
ย 
Auditing tutorial
Auditing tutorialAuditing tutorial
Auditing tutorial
ย 
Artificial neural network_tutorial
Artificial neural network_tutorialArtificial neural network_tutorial
Artificial neural network_tutorial
ย 
Artificial intelligence tutorial
Artificial intelligence tutorialArtificial intelligence tutorial
Artificial intelligence tutorial
ย 
Antenna theory tutorial
Antenna theory tutorialAntenna theory tutorial
Antenna theory tutorial
ย 
Analog communication tutorial
Analog communication tutorialAnalog communication tutorial
Analog communication tutorial
ย 
Amplifiers tutorial
Amplifiers tutorialAmplifiers tutorial
Amplifiers tutorial
ย 

Recently uploaded

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
ย 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
ย 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
ย 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
ย 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
ย 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
ย 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
ย 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
ย 

Recently uploaded (20)

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
ย 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
ย 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
ย 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
ย 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
ย 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ย 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
ย 

Software testing tutorial

  • 2. Software Testing ii AbouttheTutorial Testing is the process of evaluating a system or its component(s) with the intent to find whether it satisfies the specified requirements or not. Testing is executing a system in order to identify any gaps, errors, or missing requirements in contrary to the actual requirements. This tutorial will give you a basic understanding on software testing, its types, methods, levels, and other related terminologies. Audience This tutorial is designed for software testing professionals who would like to understand the Testing Framework in detail along with its types, methods, and levels. This tutorial provides enough ingredients to start with the software testing process from where you can take yourself to higher levels of expertise. Prerequisites Before proceeding with this tutorial, you should have a basic understanding of the software development life cycle (SDLC). In addition, you should have a basic understanding of software programming using any programming language. Copyright&Disclaimer ๏ƒฃ Copyright 2018 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at contact@tutorialspoint.com
  • 3. Software Testing iii TableofContents About the Tutorial ......................................................................................................................................1 Audience ....................................................................................................................................................1 Prerequisites ..............................................................................................................................................1 Copyright & Disclaimer...............................................................................................................................1 Table of Contents .......................................................................................................................................2 1. SOFTWARE TESTING โ€“ OVERVIEW...........................................................................................5 What is Testing? .........................................................................................................................................5 Who does Testing? .....................................................................................................................................5 When to Start Testing?...............................................................................................................................5 When to Stop Testing? ...............................................................................................................................6 Verification & Validation ............................................................................................................................6 2. SOFTWARE TESTING โ€“ MYTHS.................................................................................................7 3. SOFTWARE TESTING โ€“ QA, QC, AND TESTING .........................................................................9 Testing, Quality Assurance, and Quality Control.........................................................................................9 Audit and Inspection ..................................................................................................................................9 Testing and Debugging .............................................................................................................................10 4. SOFTWARE TESTING โ€“ ISO STANDARDS ................................................................................11 ISO/IEC 9126.............................................................................................................................................11 ISO/IEC 9241-11........................................................................................................................................11 ISO/IEC 25000:2005 ..................................................................................................................................11 ISO/IEC 12119...........................................................................................................................................12 Miscellaneous...........................................................................................................................................12 5. SOFTWARE TESTING โ€“ TYPES OF TESTING.............................................................................14 Manual Testing.........................................................................................................................................14
  • 4. Software Testing iv Automation Testing..................................................................................................................................14 What to Automate?..................................................................................................................................14 When to Automate?.................................................................................................................................15 How to Automate? ...................................................................................................................................15 Software Testing Tools .............................................................................................................................15 6. SOFTWARE TESTING โ€“ TESTING METHODS ...........................................................................17 Black-Box Testing......................................................................................................................................17 White-Box Testing ....................................................................................................................................17 Grey-Box Testing ......................................................................................................................................18 A Comparison of Testing Methods............................................................................................................19 7. SOFTWARE TESTING โ€“ TESTING LEVELS.................................................................................20 Functional Testing ....................................................................................................................................20 Unit Testing ..............................................................................................................................................20 Integration Testing ...................................................................................................................................21 System Testing .........................................................................................................................................21 Regression Testing....................................................................................................................................22 Acceptance Testing...................................................................................................................................22 Non-Functional Testing.............................................................................................................................23 Usability Testing .......................................................................................................................................24 Security Testing ........................................................................................................................................25 Portability Testing ....................................................................................................................................26 8. SOFTWARE TESTING โ€“ DOCUMENTATION.............................................................................27 Test Plan...................................................................................................................................................27 Test Scenario ............................................................................................................................................27 Test Case ..................................................................................................................................................28 Traceability Matrix ...................................................................................................................................29
  • 5. Software Testing v 9. SOFTWARE TESTING โ€“ ESTIMATION TECHNIQUES ................................................................30 Functional Point Analysis..........................................................................................................................30 Test Point Analysis....................................................................................................................................30 Mark-II Method ........................................................................................................................................30 Miscellaneous...........................................................................................................................................30
  • 6. Software Testing 1 WhatisTesting? Testing is the process of evaluating a system or its component(s) with the intent to find whether it satisfies the specified requirements or not. In simple words, testing is executing a system in order to identify any gaps, errors, or missing requirements in contrary to the actual requirements. According to ANSI/IEEE 1059 standard, Testing can be defined as - A process of analyzing a software item to detect the differences between existing and required conditions (that is defects/errors/bugs) and to evaluate the features of the software item. WhodoesTesting? It depends on the process and the associated stakeholders of the project(s). In the IT industry, large companies have a team with responsibilities to evaluate the developed software in context of the given requirements. Moreover, developers also conduct testing which is called Unit Testing. In most cases, the following professionals are involved in testing a system within their respective capacities: ๏‚ท Software Tester ๏‚ท Software Developer ๏‚ท Project Lead/Manager ๏‚ท End User Different companies have different designations for people who test the software on the basis of their experience and knowledge such as Software Tester, Software Quality Assurance Engineer, QA Analyst, etc. It is not possible to test the software at any time during its cycle. The next two sections state when testing should be started and when to end it during the SDLC. WhentoStartTesting? An early start to testing reduces the cost and time to rework and produce error-free software that is delivered to the client. However in Software Development Life Cycle (SDLC), testing can be started from the Requirements Gathering phase and continued till the deployment of the software. It also depends on the development model that is being used. For example, in the Waterfall model, formal testing is conducted in the testing phase; but in the incremental model, testing is performed at the end of every increment/iteration and the whole application is tested at the end. Testing is done in different forms at every phase of SDLC: 1. Software Testing โ€“ Overview
  • 7. Software Testing 2 ๏‚ท During the requirement gathering phase, the analysis and verification of requirements are also considered as testing. ๏‚ท Reviewing the design in the design phase with the intent to improve the design is also considered as testing. ๏‚ท Testing performed by a developer on completion of the code is also categorized as testing. WhentoStopTesting? It is difficult to determine when to stop testing, as testing is a never-ending process and no one can claim that a software is 100% tested. The following aspects are to be considered for stopping the testing process: ๏‚ท Testing Deadlines ๏‚ท Completion of test case execution ๏‚ท Completion of functional and code coverage to a certain point ๏‚ท Bug rate falls below a certain level and no high-priority bugs are identified ๏‚ท Management decision Verification&Validation These two terms are very confusing for most people, who use them interchangeably. The following table highlights the differences between verification and validation. S.N. Verification Validation 1 Verification addresses the concern: "Are you building it right?" Validation addresses the concern: "Are you building the right thing?" 2 Ensures that the software system meets all the functionality. Ensures that the functionalities meet the intended behavior. 3 Verification takes place first and includes the checking for documentation, code, etc. Validation occurs after verification and mainly involves the checking of the overall product. 4 Done by developers. Done by testers.
  • 8. Software Testing 3 5 It has static activities, as it includes collecting reviews, walkthroughs, and inspections to verify a software. It has dynamic activities, as it includes executing the software against the requirements. 6 It is an objective process and no subjective decision should be needed to verify a software. It is a subjective process and involves subjective decisions on how well a software works.
  • 9. Software Testing 4 Given below are some of the most common myths about software testing. Myth 1: Testing is Too Expensive Reality: There is a saying, pay less for testing during software development or pay more for maintenance or correction later. Early testing saves both time and cost in many aspects, however reducing the cost without testing may result in improper design of a software application rendering the product useless. Myth 2: Testing is Time-Consuming Reality: During the SDLC phases, testing is never a time-consuming process. However diagnosing and fixing the errors identified during proper testing is a time-consuming but productive activity. Myth 3: Only Fully Developed Products are Tested Reality: No doubt, testing depends on the source code but reviewing requirements and developing test cases is independent from the developed code. However iterative or incremental approach as a development life cycle model may reduce the dependency of testing on the fully developed software. Myth 4: Complete Testing is Possible Reality: It becomes an issue when a client or tester thinks that complete testing is possible. It is possible that all paths have been tested by the team but occurrence of complete testing is never possible. There might be some scenarios that are never executed by the test team or the client during the software development life cycle and may be executed once the project has been deployed. Myth 5: A Tested Software is Bug-Free Reality: This is a very common myth that the clients, project managers, and the management team believes in. No one can claim with absolute certainty that a software application is 100% bug-free even if a tester with superb testing skills has tested the application. Myth 6: Missed Defects are due to Testers Reality: It is not a correct approach to blame testers for bugs that remain in the application even after testing has been performed. This myth relates to Time, Cost, and Requirements changing Constraints. However the test strategy may also result in bugs being missed by the testing team. 2. Software Testing โ€“ Myths
  • 10. Software Testing 5 Myth 7: Testers are Responsible for Quality of Product Reality: It is a very common misinterpretation that only testers or the testing team should be responsible for product quality. Testersโ€™ responsibilities include the identification of bugs to the stakeholders and then it is their decision whether they will fix the bug or release the software. Releasing the software at the time puts more pressure on the testers, as they will be blamed for any error. Myth 8: Test Automation should be used Wherever Possible to Reduce Time Reality: Yes, it is true that Test Automation reduces the testing time, but it is not possible to start test automation at any time during software development. Test automaton should be started when the software has been manually tested and is stable to some extent. Moreover, test automation can never be used if requirements keep changing. Myth 9: Anyone can Test a Software Application Reality: People outside the IT industry think and even believe that anyone can test a software and testing is not a creative job. However testers know very well that this is a myth. Thinking alternative scenarios, try to crash a software with the intent to explore potential bugs is not possible for the person who developed it. Myth 10: A Testerโ€™s Only Task is to Find Bugs Reality: Finding bugs in a software is the task of the testers, but at the same time, they are domain experts of the particular software. Developers are only responsible for the specific component or area that is assigned to them but testers understand the overall workings of the software, what the dependencies are, and the impacts of one module on another module.
  • 11. Software Testing 6 End of ebook preview If you liked what you sawโ€ฆ Buy it from our store @ https://store.tutorialspoint.com