Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Types of Software Testing, Slides of Software Engineering

Subject: Software Testing Year: 2024

Typology: Slides

2024/2025

Available from 09/03/2024

ashish-chandak
ashish-chandak 🇮🇳

11 documents

1 / 28

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Levels of Testing
Component Testing (White Box)
Integration Testing
System Testing
Acceptance Testing
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Partial preview of the text

Download Types of Software Testing and more Slides Software Engineering in PDF only on Docsity!

Levels of Testing

  • Component Testing (White Box)
  • Integration Testing
  • System Testing
  • Acceptance Testing

Component Testing

  • Unit, module and program testing.
  • Searches for defect and verifies function of software items.
  • It includes database component, database tables, joins, views,procedure etc.

Component Testing

  • Algorithms and logic
  • Data structures (global and local)
  • Interfaces
  • Independent paths
  • Boundary conditions
  • Error handling

Component Testing

  • Uses stubs and drivers.
  • A stub is called from the software component to be tested.
  • Driver call component to be tested.
  • Defect are fixed as soon as they found without formally recording incident.

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

Top-Down Integration (cont’d)

  1. Tests are run as each individual module is integrated.
  2. On the successful completion of a set of tests, another stub is replaced with a real module
  3. Regression testing is performed to ensure that errors have not developed as result of integrating new modules

Problems with Top-Down Integration

  • Many times, calculations are performed in the modules at the bottom of the hierarchy
  • Stubs typically do not pass data up to the higher modules
  • Delaying testing until lower-level modules are ready usually results in integrating many modules at the same time rather than one at a time
  • Developing stubs that can pass data up is almost as much work as developing the actual module

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

Bottom-Up Integration

  • Integration begins with the lowest-level modules, which are combined into clusters, or builds, that perform a specific software subfunction
  • Drivers (control programs developed as stubs) are written to coordinate test case input and output
  • The cluster is tested
  • Drivers are removed and clusters are combined moving upward in the program structure

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

System Testing

  • Concerned with behavior of whole product.
  • It includes risk analysis reports, system, functional,

and SRS.

  • It check system to be delivered meets the

specification and its purpose may be to find as

many as defects.

17

System Testing

◼ It is executed by development

organization.

◼ It starts with black box technique.

◼ It must be in controlled environment

and this environment correspond to

final target.

Acceptance Testing ◼ When development organization completes development and bugs are removed then they moved to acceptance testing. ◼ It is based on ◼ User requirement ◼ System requirement ◼ Use cases ◼ Business process ◼ Risk analysis report