SlideShare a Scribd company logo
1 of 17
Software Testing
Name: Madam Currie
Course: Swen5431
Semester: Summer 2K
Objective
The objective of this presentation is to
show the
 How to define Software Testing
Principles
 What are the types of Software Tests
 What is Test Planning
 Test Execution and Reporting
 Real-Time Testing
How to define Software
Testing Principles
 Testing
The execution of a program to find its faults
 Verification
The process of proving the programs
correctness.
 Validation
The process of finding errors by executing the
program in a real environment
 Debugging
Diagnosing the error and correct it
Software Testing Principles
 To remove as many defects as possible
before test since the quality improvement
potential of testing is limited
What are the Types of
Software Tests
 Unit Testing (White Box)
 Integration Testing
 Function Testing (Black Box)
 Regression Testing
 System Test
 Acceptance and Installation Tests
Unit Testing (White Box)
 Individual components are tested.
 It is a path test.
 To focus on a relatively small segment of
code and aim to exercise a high percentage
of the internal path
 Disadvantage: the tester may be biased by
previous experience. And the test value
may not cover all possible values.
Integration Testing
 Top-down Integration Test
 Bottom-up Integration Test
Top-down Integration Test
 The control program is tested first. Modules
are integrated one at a time. Emphasize on
interface testing
 Advantages: No test drivers needed
Interface errors are discovered early
Modular features aid debugging
 Disadvantages: Test stubs are needed
Errors in critical modules at low levels are found
late.
A
B
T1
T2
T3
A
B
C
T4
T3
T2
T1
Top-down Testing
Bottom-up Integration Test
 Allow early testing aimed at proving feasibility
Emphasize on module functionality and
performance
 Advantages: No test stubs are needed
Errors in critical modules are found early
 Disadvantages: Test drivers are needed
Interface errors are discovered late
Test
Drivers
Level N
Level N-1 Level N-1
Level N
Level N
Test
Drivers
Test
Drivers
Test
Drivers
Test
Drivers
Bottom-up testing
Function Testing (Black Box)
 Designed to exercise the to its external
specifications
 Testers not biased by knowledge of the
program’s design.
 Disadvantages:
1. The need for explicitly stated
requirements
2. Only cover a small portion of the possible
test conditions.
Regression Testing
 Test the effects of the newly introduced
changes on all the previously integrated
code.
 The common strategy is to accumulate a
comprehensive regression bucket but also
to define a subset.
 The full bucket is run only occasionally,
but the subset is run against every spin.
 Disadvantages:
1. To decide how much of a subset to use
and which tests to select.
What is Test Planning
 Define the functions, roles and methods for all
test phases.
 Test planning usually start during the
requirements phase.
 Major test plan elements are:
1. Objectives for each test phase
2. Schedules and responsibilities for each test
activity
3. Availability of tools, facilities and test libraries.
4. Set the criteria for test completion
Test Execution & Reporting
 Testing should be treated like an
experiment.
 Testing require that all anomalous behavior
be noted and investigated.
 Big companies keep a special library with all
copies of test reports, incident forms, and
test plans
Real-Time Testing
 Real-Time testing is necessary because the
deployment system is usually more complicate
than development system
 Rules apply for testing real time system
1. Evaluate possible deadlocks, thrashing to special
timing conditions
2. Use tests to simulate hardware faults.
3. Use hardware simulation to stress the software
design.
4. Design ways to simulate modules missing in the
development system.
References
 DeMillo, Software Testing and Evaluation
Benjamin/Cummings Publishing Company,
Inc California, 1987.
 Sommerville, Software Engineering
Addison-Wesley Publishing Company, 1996
 Humphrey, Managing the Software Process,
Addison-Wesley Publishing Company, 1990.

More Related Content

Similar to CurrieTesting.ppt (20)

Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Testing
Software Testing Software Testing
Software Testing
 
Top 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual TestersTop 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual Testers
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
S.t.
S.t.S.t.
S.t.
 
Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx
 
Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By Srikanth
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Manual testing
Manual testingManual testing
Manual testing
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software unit4
Software unit4Software unit4
Software unit4
 
Manual testing
Manual testingManual testing
Manual testing
 
Software Testing PPT | Software All Testing
Software Testing PPT | Software All TestingSoftware Testing PPT | Software All Testing
Software Testing PPT | Software All Testing
 
Testing
TestingTesting
Testing
 
Types of testing
Types of testingTypes of testing
Types of testing
 
Testing
TestingTesting
Testing
 

Recently uploaded

UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxUNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxDineshKumar4165
 
Crash Vehicle Emergency Rescue Slideshow.ppt
Crash Vehicle Emergency Rescue Slideshow.pptCrash Vehicle Emergency Rescue Slideshow.ppt
Crash Vehicle Emergency Rescue Slideshow.pptVlademirGebDubouzet1
 
Digamma / CertiCon Company Presentation
Digamma / CertiCon Company  PresentationDigamma / CertiCon Company  Presentation
Digamma / CertiCon Company PresentationMihajloManjak
 
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptxUNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptxDineshKumar4165
 
(COD) ̄Young Call Girls In Dwarka , New Delhi꧁❤ 7042364481❤꧂ Escorts Service i...
(COD) ̄Young Call Girls In Dwarka , New Delhi꧁❤ 7042364481❤꧂ Escorts Service i...(COD) ̄Young Call Girls In Dwarka , New Delhi꧁❤ 7042364481❤꧂ Escorts Service i...
(COD) ̄Young Call Girls In Dwarka , New Delhi꧁❤ 7042364481❤꧂ Escorts Service i...Hot Call Girls In Sector 58 (Noida)
 
Hyundai World Rally Team in action at 2024 WRC
Hyundai World Rally Team in action at 2024 WRCHyundai World Rally Team in action at 2024 WRC
Hyundai World Rally Team in action at 2024 WRCHyundai Motor Group
 
Vip Hot Call Girls 🫤 Mahipalpur ➡️ 9711199171 ➡️ Delhi 🫦 Whatsapp Number
Vip Hot Call Girls 🫤 Mahipalpur ➡️ 9711199171 ➡️ Delhi 🫦 Whatsapp NumberVip Hot Call Girls 🫤 Mahipalpur ➡️ 9711199171 ➡️ Delhi 🫦 Whatsapp Number
Vip Hot Call Girls 🫤 Mahipalpur ➡️ 9711199171 ➡️ Delhi 🫦 Whatsapp Numberkumarajju5765
 
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Transformative journey for Automotive Components Manufacturers- D&V Business ...
Transformative journey for Automotive Components Manufacturers- D&V Business ...Transformative journey for Automotive Components Manufacturers- D&V Business ...
Transformative journey for Automotive Components Manufacturers- D&V Business ...D&V Business Consulting
 
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一hnfusn
 
Not Sure About VW EGR Valve Health Look For These Symptoms
Not Sure About VW EGR Valve Health Look For These SymptomsNot Sure About VW EGR Valve Health Look For These Symptoms
Not Sure About VW EGR Valve Health Look For These SymptomsFifth Gear Automotive
 
Beautiful Vip Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
Beautiful Vip  Call Girls Punjabi Bagh 9711199012 Call /WhatsappsBeautiful Vip  Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
Beautiful Vip Call Girls Punjabi Bagh 9711199012 Call /Whatsappssapnasaifi408
 
GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024AHOhOops1
 
Call me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
Call me @ 9892124323 Call Girl in Andheri East With Free Home DeliveryCall me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
Call me @ 9892124323 Call Girl in Andheri East With Free Home DeliveryPooja Nehwal
 
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHot Call Girls In Sector 58 (Noida)
 
UNIT-III-TRANSMISSION SYSTEMS REAR AXLES
UNIT-III-TRANSMISSION SYSTEMS REAR AXLESUNIT-III-TRANSMISSION SYSTEMS REAR AXLES
UNIT-III-TRANSMISSION SYSTEMS REAR AXLESDineshKumar4165
 
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kasba 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Roomdivyansh0kumar0
 

Recently uploaded (20)

UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxUNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
 
Crash Vehicle Emergency Rescue Slideshow.ppt
Crash Vehicle Emergency Rescue Slideshow.pptCrash Vehicle Emergency Rescue Slideshow.ppt
Crash Vehicle Emergency Rescue Slideshow.ppt
 
Digamma / CertiCon Company Presentation
Digamma / CertiCon Company  PresentationDigamma / CertiCon Company  Presentation
Digamma / CertiCon Company Presentation
 
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptxUNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
 
(COD) ̄Young Call Girls In Dwarka , New Delhi꧁❤ 7042364481❤꧂ Escorts Service i...
(COD) ̄Young Call Girls In Dwarka , New Delhi꧁❤ 7042364481❤꧂ Escorts Service i...(COD) ̄Young Call Girls In Dwarka , New Delhi꧁❤ 7042364481❤꧂ Escorts Service i...
(COD) ̄Young Call Girls In Dwarka , New Delhi꧁❤ 7042364481❤꧂ Escorts Service i...
 
Indian Downtown Call Girls # 00971528903066 # Indian Call Girls In Downtown D...
Indian Downtown Call Girls # 00971528903066 # Indian Call Girls In Downtown D...Indian Downtown Call Girls # 00971528903066 # Indian Call Girls In Downtown D...
Indian Downtown Call Girls # 00971528903066 # Indian Call Girls In Downtown D...
 
Hyundai World Rally Team in action at 2024 WRC
Hyundai World Rally Team in action at 2024 WRCHyundai World Rally Team in action at 2024 WRC
Hyundai World Rally Team in action at 2024 WRC
 
Vip Hot Call Girls 🫤 Mahipalpur ➡️ 9711199171 ➡️ Delhi 🫦 Whatsapp Number
Vip Hot Call Girls 🫤 Mahipalpur ➡️ 9711199171 ➡️ Delhi 🫦 Whatsapp NumberVip Hot Call Girls 🫤 Mahipalpur ➡️ 9711199171 ➡️ Delhi 🫦 Whatsapp Number
Vip Hot Call Girls 🫤 Mahipalpur ➡️ 9711199171 ➡️ Delhi 🫦 Whatsapp Number
 
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
(NEHA) Call Girls Pushkar Booking Open 8617697112 Pushkar Escorts
(NEHA) Call Girls Pushkar Booking Open 8617697112 Pushkar Escorts(NEHA) Call Girls Pushkar Booking Open 8617697112 Pushkar Escorts
(NEHA) Call Girls Pushkar Booking Open 8617697112 Pushkar Escorts
 
Call Girls in Shri Niwas Puri Delhi 💯Call Us 🔝9953056974🔝
Call Girls in  Shri Niwas Puri  Delhi 💯Call Us 🔝9953056974🔝Call Girls in  Shri Niwas Puri  Delhi 💯Call Us 🔝9953056974🔝
Call Girls in Shri Niwas Puri Delhi 💯Call Us 🔝9953056974🔝
 
Transformative journey for Automotive Components Manufacturers- D&V Business ...
Transformative journey for Automotive Components Manufacturers- D&V Business ...Transformative journey for Automotive Components Manufacturers- D&V Business ...
Transformative journey for Automotive Components Manufacturers- D&V Business ...
 
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
 
Not Sure About VW EGR Valve Health Look For These Symptoms
Not Sure About VW EGR Valve Health Look For These SymptomsNot Sure About VW EGR Valve Health Look For These Symptoms
Not Sure About VW EGR Valve Health Look For These Symptoms
 
Beautiful Vip Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
Beautiful Vip  Call Girls Punjabi Bagh 9711199012 Call /WhatsappsBeautiful Vip  Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
Beautiful Vip Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
 
GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024
 
Call me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
Call me @ 9892124323 Call Girl in Andheri East With Free Home DeliveryCall me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
Call me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
 
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
 
UNIT-III-TRANSMISSION SYSTEMS REAR AXLES
UNIT-III-TRANSMISSION SYSTEMS REAR AXLESUNIT-III-TRANSMISSION SYSTEMS REAR AXLES
UNIT-III-TRANSMISSION SYSTEMS REAR AXLES
 
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kasba 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
 

CurrieTesting.ppt

  • 1. Software Testing Name: Madam Currie Course: Swen5431 Semester: Summer 2K
  • 2. Objective The objective of this presentation is to show the  How to define Software Testing Principles  What are the types of Software Tests  What is Test Planning  Test Execution and Reporting  Real-Time Testing
  • 3. How to define Software Testing Principles  Testing The execution of a program to find its faults  Verification The process of proving the programs correctness.  Validation The process of finding errors by executing the program in a real environment  Debugging Diagnosing the error and correct it
  • 4. Software Testing Principles  To remove as many defects as possible before test since the quality improvement potential of testing is limited
  • 5. What are the Types of Software Tests  Unit Testing (White Box)  Integration Testing  Function Testing (Black Box)  Regression Testing  System Test  Acceptance and Installation Tests
  • 6. Unit Testing (White Box)  Individual components are tested.  It is a path test.  To focus on a relatively small segment of code and aim to exercise a high percentage of the internal path  Disadvantage: the tester may be biased by previous experience. And the test value may not cover all possible values.
  • 7. Integration Testing  Top-down Integration Test  Bottom-up Integration Test
  • 8. Top-down Integration Test  The control program is tested first. Modules are integrated one at a time. Emphasize on interface testing  Advantages: No test drivers needed Interface errors are discovered early Modular features aid debugging  Disadvantages: Test stubs are needed Errors in critical modules at low levels are found late.
  • 10. Bottom-up Integration Test  Allow early testing aimed at proving feasibility Emphasize on module functionality and performance  Advantages: No test stubs are needed Errors in critical modules are found early  Disadvantages: Test drivers are needed Interface errors are discovered late
  • 11. Test Drivers Level N Level N-1 Level N-1 Level N Level N Test Drivers Test Drivers Test Drivers Test Drivers Bottom-up testing
  • 12. Function Testing (Black Box)  Designed to exercise the to its external specifications  Testers not biased by knowledge of the program’s design.  Disadvantages: 1. The need for explicitly stated requirements 2. Only cover a small portion of the possible test conditions.
  • 13. Regression Testing  Test the effects of the newly introduced changes on all the previously integrated code.  The common strategy is to accumulate a comprehensive regression bucket but also to define a subset.  The full bucket is run only occasionally, but the subset is run against every spin.  Disadvantages: 1. To decide how much of a subset to use and which tests to select.
  • 14. What is Test Planning  Define the functions, roles and methods for all test phases.  Test planning usually start during the requirements phase.  Major test plan elements are: 1. Objectives for each test phase 2. Schedules and responsibilities for each test activity 3. Availability of tools, facilities and test libraries. 4. Set the criteria for test completion
  • 15. Test Execution & Reporting  Testing should be treated like an experiment.  Testing require that all anomalous behavior be noted and investigated.  Big companies keep a special library with all copies of test reports, incident forms, and test plans
  • 16. Real-Time Testing  Real-Time testing is necessary because the deployment system is usually more complicate than development system  Rules apply for testing real time system 1. Evaluate possible deadlocks, thrashing to special timing conditions 2. Use tests to simulate hardware faults. 3. Use hardware simulation to stress the software design. 4. Design ways to simulate modules missing in the development system.
  • 17. References  DeMillo, Software Testing and Evaluation Benjamin/Cummings Publishing Company, Inc California, 1987.  Sommerville, Software Engineering Addison-Wesley Publishing Company, 1996  Humphrey, Managing the Software Process, Addison-Wesley Publishing Company, 1990.