SlideShare a Scribd company logo
Lesson-1
Introduction to Software Testing
By
Syed Usman Ahmed
Modules in Lesson-1
• Basic definitions and terminologies of software testing.
• Principles of Software Testing
• Basic types of testing.
• White box testing.
• Black box testing.
Basic definition - Software Testing
SOFTWARE TESTING
• Software testing is a process of executing a program or application with the
intent of finding the software bugs.
• It can also be stated as the process of validating and verifying that a
software program or application or product: Meets the business and
technical requirements that guided it's design and development.
Basic Definition - Error and Fault (Defect)
ERROR
• An error is a mistake, misconception, or misunderstanding on the part of
software developer.
FAULT (DEFECT)
• A fault or defect is introduced into the software as the result of an error. It
is an anomaly in the software that may cause it to behave incorrectly, and not
according to its specification.
Failures
• A failure is the inability of a software system, or component to perform its
required functions within specified performance requirements.
Question for viewer
What is the difference between error and defect?
Test Cases
• A test case in a practical sense is a test-related item which contains the
following information:
• A set of test inputs: These are data items received from an external source by the code
under test. The external source can be hardware, software, or human.
• Execution conditions: These are conditions required for running the test, for example
a certain state of a database, or a configuration of hardware device.
• Expected output: These are specified results to be produced by the code under test.
More definitions
• Test – A test is group of test cases, or a group of related test cases and
test procedures.
• Test Oracle – It is a document, or a piece of software that allows testers to
determine whether a test has been passed or failed.
• Test Bed – A test bed is an environment that contains all the hardware
and software needed to test a software component or a software system.
Principles of Software Testing
• Principle 1: Testing is a process of exercising a software component using a
selected set of test cases, with the intent of (i) revealing defects, and (ii)
evaluating quality.
• Principle 2: A good test case is one that has probability of revealing a yet
undetected defect(s).
• Principle 3: Test results should be inspected meticulously.
• Principle 4: Test case must contain the expected output or result.
Principles of Software Testing
• Principle 1: Testing is a process of exercising a software component using a
selected set of test cases, with the intent of (i) revealing defects, and (ii)
evaluating quality.
• Principle 2: A good test case is one that has probability of revealing a yet
undetected defect(s).
• Principle 3: Test results should be inspected meticulously.
• Principle 4: Test case must contain the expected output or result.
Principles of Software Testing
• Principle 1: Testing is a process of exercising a software component using a
selected set of test cases, with the intent of (i) revealing defects, and (ii)
evaluating quality.
• Principle 2: A good test case is one that has probability of revealing a yet
undetected defect(s).
• Principle 3: Test results should be inspected meticulously.
• Principle 4: Test case must contain the expected output or result.
Principles of Software Testing
• Principle 1: Testing is a process of exercising a software component using a
selected set of test cases, with the intent of (i) revealing defects, and (ii)
evaluating quality.
• Principle 2: A good test case is one that has probability of revealing a yet
undetected defect(s).
• Principle 3: Test results should be inspected meticulously.
• Principle 4: Test case must contain the expected output or result.
Principles of Software Testing
• Principle 5: Test cases should be developed for both valid and invalid input
conditions.
• Principle 6: Testing should carried out by a group that is independent of the
development group.
• Principle 7: Tests must be repeatable and reusable.
• Principle 8: Testing should be planned.
Principles of Software Testing
• Principle 5: Test cases should be developed for both valid and invalid input
conditions.
• Principle 6: Testing should carried out by a group that is independent of the
development group.
• Principle 7: Tests must be repeatable and reusable.
• Principle 8: Testing should be planned.
Principles of Software Testing
• Principle 5: Test cases should be developed for both valid and invalid input
conditions.
• Principle 6: Testing should carried out by a group that is independent of the
development group.
• Principle 7: Tests must be repeatable and reusable.
• Principle 8: Testing should be planned.
Principles of Software Testing
• Principle 5: Test cases should be developed for both valid and invalid input
conditions.
• Principle 6: Testing should carried out by a group that is independent of the
development group.
• Principle 7: Tests must be repeatable and reusable.
• Principle 8: Testing should be planned.
Types of Software Testing
Software
testing
Black-Box
User-
Inputs
Expected-
Outputs
White-Box
User
Inputs
Expected
Output
Internal
Structure
Black-Box (BB) Testing
• Black-box testing is a method of software testing that examines the
functionality of an application without peering into its internal
structures or workings.
• This method of test can be applied to virtually every level of software
testing: unit, integration, system and acceptance.
• Boundary Value Analysis (BVA) and Equivalence Partitioning (EP) are
two basic types of Black Box testing.
White-Box Testing
• White-box testing (also known as clear box testing, glass box testing,
transparent box testing, and structural testing) is a method of testing
software that tests internal structures or workings.
• This method of test is generally applied at the beginning of the software
development i.e. at the development of every unit.
• Software developer does the white box testing.
Thanks

More Related Content

What's hot

ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
HoangThiHien1
 
ISTQB Test level, Test type
ISTQB Test level, Test typeISTQB Test level, Test type
ISTQB Test level, Test type
HoangThiHien1
 
Unit2 for st
Unit2 for stUnit2 for st
Unit2 for st
Poonkodi Jayakumar
 
Types of testing
Types of testingTypes of testing
Types of testing
Sonam Agarwal
 
H testing and debugging
H testing and debuggingH testing and debugging
H testing and debugging
missstevenson01
 
Software testing
Software testingSoftware testing
Software testing
Madhumita Chatterjee
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 
Software Testing Techniques: An Overview
Software Testing Techniques: An Overview Software Testing Techniques: An Overview
Software Testing Techniques: An Overview
QA InfoTech
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
Dhanasekaran Nagarajan
 
Testing (System Analysis and Design)
Testing (System Analysis and Design)Testing (System Analysis and Design)
Testing (System Analysis and Design)
Areeb Khan
 
Testing
TestingTesting
Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)
Venkatesh Prasad Ranganath
 
Software Testing Technique in Software Engineering
Software Testing Technique in Software EngineeringSoftware Testing Technique in Software Engineering
Software Testing Technique in Software Engineering
Ismail Hussain
 
Why testing is important ?
Why testing is important ?Why testing is important ?
Why testing is important ?
TestCenter
 
Static testing vs dynamic testing
Static testing vs dynamic testingStatic testing vs dynamic testing
Static testing vs dynamic testing
pooja deshmukh
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 

What's hot (18)

ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
 
ISTQB Test level, Test type
ISTQB Test level, Test typeISTQB Test level, Test type
ISTQB Test level, Test type
 
Unit2 for st
Unit2 for stUnit2 for st
Unit2 for st
 
Types of testing
Types of testingTypes of testing
Types of testing
 
H testing and debugging
H testing and debuggingH testing and debugging
H testing and debugging
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Testing Techniques: An Overview
Software Testing Techniques: An Overview Software Testing Techniques: An Overview
Software Testing Techniques: An Overview
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
Testing (System Analysis and Design)
Testing (System Analysis and Design)Testing (System Analysis and Design)
Testing (System Analysis and Design)
 
Testing
TestingTesting
Testing
 
Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)
 
Software Testing Technique in Software Engineering
Software Testing Technique in Software EngineeringSoftware Testing Technique in Software Engineering
Software Testing Technique in Software Engineering
 
Why testing is important ?
Why testing is important ?Why testing is important ?
Why testing is important ?
 
Static testing vs dynamic testing
Static testing vs dynamic testingStatic testing vs dynamic testing
Static testing vs dynamic testing
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 

Viewers also liked

Certificate Size Frequency Dstribution Machine
Certificate Size Frequency Dstribution MachineCertificate Size Frequency Dstribution Machine
Certificate Size Frequency Dstribution MachinePatrick Ratte
 
Par quoi remplacer Yahoo Pipes dans vos stratégies de veille?
Par quoi remplacer Yahoo Pipes dans vos stratégies de veille?Par quoi remplacer Yahoo Pipes dans vos stratégies de veille?
Par quoi remplacer Yahoo Pipes dans vos stratégies de veille?
Anik Dumont-Bissonnette
 
International Journal of Business and Social Science Vol. 2
International Journal of Business and Social Science Vol. 2International Journal of Business and Social Science Vol. 2
International Journal of Business and Social Science Vol. 2
nurul fadhilla yuzia putri
 
CV
CVCV
Косметическая коллекция 2013
Косметическая коллекция 2013Косметическая коллекция 2013
Косметическая коллекция 2013
tentorium_life
 
Ejercicio amortizacion
Ejercicio amortizacionEjercicio amortizacion
Ejercicio amortizacion
maria montilla
 
Первые европейцы на краю Азии
Первые европейцы на краю АзииПервые европейцы на краю Азии
Первые европейцы на краю Азии
Андрей Некрасов
 
TMPA-2015 > Инструмент для автоматизированого тестирования систем проведения ...
TMPA-2015 > Инструмент для автоматизированого тестирования систем проведения ...TMPA-2015 > Инструмент для автоматизированого тестирования систем проведения ...
TMPA-2015 > Инструмент для автоматизированого тестирования систем проведения ...
Anna Toropova
 
Kesko CMD, EVP, CDO Anni Ronkainen
Kesko CMD, EVP, CDO Anni RonkainenKesko CMD, EVP, CDO Anni Ronkainen
Kesko CMD, EVP, CDO Anni Ronkainen
Kesko_Oyj
 
Integrated Pest Management for Greenhouse Crops
Integrated Pest Management for Greenhouse CropsIntegrated Pest Management for Greenhouse Crops
Integrated Pest Management for Greenhouse Crops
ElisaMendelsohn
 
Sintesi track agenda digitale barcamp camera deputati integrale-def
Sintesi track agenda digitale   barcamp camera deputati integrale-defSintesi track agenda digitale   barcamp camera deputati integrale-def
Sintesi track agenda digitale barcamp camera deputati integrale-defNello Iacono
 
Greenhouse IPM: Sustainable Thrips Control
Greenhouse IPM: Sustainable Thrips ControlGreenhouse IPM: Sustainable Thrips Control
Greenhouse IPM: Sustainable Thrips Control
ElisaMendelsohn
 
Thrips Integrated Pest Management
Thrips Integrated Pest ManagementThrips Integrated Pest Management
Thrips Integrated Pest Management
School Vegetable Gardening - Victory Gardens
 
Drywood Termites Integrated Pest Management
Drywood Termites Integrated Pest ManagementDrywood Termites Integrated Pest Management
Drywood Termites Integrated Pest Management
School Vegetable Gardening - Victory Gardens
 
Thrips Management Alternatives in the Field
Thrips Management Alternatives in the FieldThrips Management Alternatives in the Field
Thrips Management Alternatives in the Field
ElisaMendelsohn
 
Evaluating a Rural Enterprise
Evaluating a Rural EnterpriseEvaluating a Rural Enterprise
Evaluating a Rural Enterprise
ElisaMendelsohn
 
Data carpentry instructor-onboarding
Data carpentry instructor-onboardingData carpentry instructor-onboarding
Data carpentry instructor-onboarding
tracykteal
 
Perimetry by dr.ricky
Perimetry by dr.rickyPerimetry by dr.ricky
Perimetry by dr.ricky
Ricky Mittal
 
How insects communicate
How insects communicateHow insects communicate
How insects communicate
Mika Agcaoili
 
Application of life tables in insect pest management
Application of life tables in insect pest managementApplication of life tables in insect pest management
Application of life tables in insect pest management
chidanand4098
 

Viewers also liked (20)

Certificate Size Frequency Dstribution Machine
Certificate Size Frequency Dstribution MachineCertificate Size Frequency Dstribution Machine
Certificate Size Frequency Dstribution Machine
 
Par quoi remplacer Yahoo Pipes dans vos stratégies de veille?
Par quoi remplacer Yahoo Pipes dans vos stratégies de veille?Par quoi remplacer Yahoo Pipes dans vos stratégies de veille?
Par quoi remplacer Yahoo Pipes dans vos stratégies de veille?
 
International Journal of Business and Social Science Vol. 2
International Journal of Business and Social Science Vol. 2International Journal of Business and Social Science Vol. 2
International Journal of Business and Social Science Vol. 2
 
CV
CVCV
CV
 
Косметическая коллекция 2013
Косметическая коллекция 2013Косметическая коллекция 2013
Косметическая коллекция 2013
 
Ejercicio amortizacion
Ejercicio amortizacionEjercicio amortizacion
Ejercicio amortizacion
 
Первые европейцы на краю Азии
Первые европейцы на краю АзииПервые европейцы на краю Азии
Первые европейцы на краю Азии
 
TMPA-2015 > Инструмент для автоматизированого тестирования систем проведения ...
TMPA-2015 > Инструмент для автоматизированого тестирования систем проведения ...TMPA-2015 > Инструмент для автоматизированого тестирования систем проведения ...
TMPA-2015 > Инструмент для автоматизированого тестирования систем проведения ...
 
Kesko CMD, EVP, CDO Anni Ronkainen
Kesko CMD, EVP, CDO Anni RonkainenKesko CMD, EVP, CDO Anni Ronkainen
Kesko CMD, EVP, CDO Anni Ronkainen
 
Integrated Pest Management for Greenhouse Crops
Integrated Pest Management for Greenhouse CropsIntegrated Pest Management for Greenhouse Crops
Integrated Pest Management for Greenhouse Crops
 
Sintesi track agenda digitale barcamp camera deputati integrale-def
Sintesi track agenda digitale   barcamp camera deputati integrale-defSintesi track agenda digitale   barcamp camera deputati integrale-def
Sintesi track agenda digitale barcamp camera deputati integrale-def
 
Greenhouse IPM: Sustainable Thrips Control
Greenhouse IPM: Sustainable Thrips ControlGreenhouse IPM: Sustainable Thrips Control
Greenhouse IPM: Sustainable Thrips Control
 
Thrips Integrated Pest Management
Thrips Integrated Pest ManagementThrips Integrated Pest Management
Thrips Integrated Pest Management
 
Drywood Termites Integrated Pest Management
Drywood Termites Integrated Pest ManagementDrywood Termites Integrated Pest Management
Drywood Termites Integrated Pest Management
 
Thrips Management Alternatives in the Field
Thrips Management Alternatives in the FieldThrips Management Alternatives in the Field
Thrips Management Alternatives in the Field
 
Evaluating a Rural Enterprise
Evaluating a Rural EnterpriseEvaluating a Rural Enterprise
Evaluating a Rural Enterprise
 
Data carpentry instructor-onboarding
Data carpentry instructor-onboardingData carpentry instructor-onboarding
Data carpentry instructor-onboarding
 
Perimetry by dr.ricky
Perimetry by dr.rickyPerimetry by dr.ricky
Perimetry by dr.ricky
 
How insects communicate
How insects communicateHow insects communicate
How insects communicate
 
Application of life tables in insect pest management
Application of life tables in insect pest managementApplication of life tables in insect pest management
Application of life tables in insect pest management
 

Similar to Learn Software Testing in 6 Lessons

What is software testing in software engineering?
What is software testing in software engineering?What is software testing in software engineering?
What is software testing in software engineering?
tommychauhan
 
What is Testing in Software Engineering?
What is Testing in Software Engineering?What is Testing in Software Engineering?
What is Testing in Software Engineering?
tommychauhan
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
Dr Anuranjan Misra
 
Different Types Of Testing
Different Types Of TestingDifferent Types Of Testing
Different Types Of Testing
Siddharth Belbase
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
ShudipPal
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Raviteja Chowdary Adusumalli
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Saqib Raza
 
IT8076 - SOFTWARE TESTING
IT8076 - SOFTWARE TESTINGIT8076 - SOFTWARE TESTING
IT8076 - SOFTWARE TESTING
Sathya R
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
GNANAJESLINJ
 
IT8076 – Software Testing Intro
IT8076 – Software Testing IntroIT8076 – Software Testing Intro
IT8076 – Software Testing Intro
JohnSamuel280314
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
ShudipPal
 
S440999102
S440999102S440999102
S440999102
IJERA Editor
 
Testing strategies,techniques & test case SE
Testing strategies,techniques & test case SETesting strategies,techniques & test case SE
Testing strategies,techniques & test case SE
Meet1020
 
L software testing
L   software testingL   software testing
L software testing
Fáber D. Giraldo
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 
Software testing part
Software testing partSoftware testing part
Software testing part
Preeti Mishra
 
ITFT--Software testing
ITFT--Software testingITFT--Software testing
ITFT--Software testing
Shifali Sharma
 
Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testingManual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
Vibrant Technologies & Computers
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
jeyasrig
 

Similar to Learn Software Testing in 6 Lessons (20)

What is software testing in software engineering?
What is software testing in software engineering?What is software testing in software engineering?
What is software testing in software engineering?
 
What is Testing in Software Engineering?
What is Testing in Software Engineering?What is Testing in Software Engineering?
What is Testing in Software Engineering?
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
 
Different Types Of Testing
Different Types Of TestingDifferent Types Of Testing
Different Types Of Testing
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
IT8076 - SOFTWARE TESTING
IT8076 - SOFTWARE TESTINGIT8076 - SOFTWARE TESTING
IT8076 - SOFTWARE TESTING
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
IT8076 – Software Testing Intro
IT8076 – Software Testing IntroIT8076 – Software Testing Intro
IT8076 – Software Testing Intro
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
 
S440999102
S440999102S440999102
S440999102
 
Testing strategies,techniques & test case SE
Testing strategies,techniques & test case SETesting strategies,techniques & test case SE
Testing strategies,techniques & test case SE
 
L software testing
L   software testingL   software testing
L software testing
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Software testing part
Software testing partSoftware testing part
Software testing part
 
ITFT--Software testing
ITFT--Software testingITFT--Software testing
ITFT--Software testing
 
Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testingManual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
 

Recently uploaded

Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 

Recently uploaded (20)

Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 

Learn Software Testing in 6 Lessons

  • 1. Lesson-1 Introduction to Software Testing By Syed Usman Ahmed
  • 2. Modules in Lesson-1 • Basic definitions and terminologies of software testing. • Principles of Software Testing • Basic types of testing. • White box testing. • Black box testing.
  • 3. Basic definition - Software Testing SOFTWARE TESTING • Software testing is a process of executing a program or application with the intent of finding the software bugs. • It can also be stated as the process of validating and verifying that a software program or application or product: Meets the business and technical requirements that guided it's design and development.
  • 4. Basic Definition - Error and Fault (Defect) ERROR • An error is a mistake, misconception, or misunderstanding on the part of software developer. FAULT (DEFECT) • A fault or defect is introduced into the software as the result of an error. It is an anomaly in the software that may cause it to behave incorrectly, and not according to its specification.
  • 5. Failures • A failure is the inability of a software system, or component to perform its required functions within specified performance requirements. Question for viewer What is the difference between error and defect?
  • 6. Test Cases • A test case in a practical sense is a test-related item which contains the following information: • A set of test inputs: These are data items received from an external source by the code under test. The external source can be hardware, software, or human. • Execution conditions: These are conditions required for running the test, for example a certain state of a database, or a configuration of hardware device. • Expected output: These are specified results to be produced by the code under test.
  • 7. More definitions • Test – A test is group of test cases, or a group of related test cases and test procedures. • Test Oracle – It is a document, or a piece of software that allows testers to determine whether a test has been passed or failed. • Test Bed – A test bed is an environment that contains all the hardware and software needed to test a software component or a software system.
  • 8. Principles of Software Testing • Principle 1: Testing is a process of exercising a software component using a selected set of test cases, with the intent of (i) revealing defects, and (ii) evaluating quality. • Principle 2: A good test case is one that has probability of revealing a yet undetected defect(s). • Principle 3: Test results should be inspected meticulously. • Principle 4: Test case must contain the expected output or result.
  • 9. Principles of Software Testing • Principle 1: Testing is a process of exercising a software component using a selected set of test cases, with the intent of (i) revealing defects, and (ii) evaluating quality. • Principle 2: A good test case is one that has probability of revealing a yet undetected defect(s). • Principle 3: Test results should be inspected meticulously. • Principle 4: Test case must contain the expected output or result.
  • 10. Principles of Software Testing • Principle 1: Testing is a process of exercising a software component using a selected set of test cases, with the intent of (i) revealing defects, and (ii) evaluating quality. • Principle 2: A good test case is one that has probability of revealing a yet undetected defect(s). • Principle 3: Test results should be inspected meticulously. • Principle 4: Test case must contain the expected output or result.
  • 11. Principles of Software Testing • Principle 1: Testing is a process of exercising a software component using a selected set of test cases, with the intent of (i) revealing defects, and (ii) evaluating quality. • Principle 2: A good test case is one that has probability of revealing a yet undetected defect(s). • Principle 3: Test results should be inspected meticulously. • Principle 4: Test case must contain the expected output or result.
  • 12. Principles of Software Testing • Principle 5: Test cases should be developed for both valid and invalid input conditions. • Principle 6: Testing should carried out by a group that is independent of the development group. • Principle 7: Tests must be repeatable and reusable. • Principle 8: Testing should be planned.
  • 13. Principles of Software Testing • Principle 5: Test cases should be developed for both valid and invalid input conditions. • Principle 6: Testing should carried out by a group that is independent of the development group. • Principle 7: Tests must be repeatable and reusable. • Principle 8: Testing should be planned.
  • 14. Principles of Software Testing • Principle 5: Test cases should be developed for both valid and invalid input conditions. • Principle 6: Testing should carried out by a group that is independent of the development group. • Principle 7: Tests must be repeatable and reusable. • Principle 8: Testing should be planned.
  • 15. Principles of Software Testing • Principle 5: Test cases should be developed for both valid and invalid input conditions. • Principle 6: Testing should carried out by a group that is independent of the development group. • Principle 7: Tests must be repeatable and reusable. • Principle 8: Testing should be planned.
  • 16. Types of Software Testing Software testing Black-Box User- Inputs Expected- Outputs White-Box User Inputs Expected Output Internal Structure
  • 17. Black-Box (BB) Testing • Black-box testing is a method of software testing that examines the functionality of an application without peering into its internal structures or workings. • This method of test can be applied to virtually every level of software testing: unit, integration, system and acceptance. • Boundary Value Analysis (BVA) and Equivalence Partitioning (EP) are two basic types of Black Box testing.
  • 18. White-Box Testing • White-box testing (also known as clear box testing, glass box testing, transparent box testing, and structural testing) is a method of testing software that tests internal structures or workings. • This method of test is generally applied at the beginning of the software development i.e. at the development of every unit. • Software developer does the white box testing.