SaTracking
ValidationNEWBeginner

Software testing levels and types: choose the right scope of verification

Understand testing levels, verification and validation, and how to choose manual, automated, black-box or white-box approaches.

Download for AI (.txt)

Want to check this in your browser? Run the local audit.

Measurement topic illustration · SaTracking

Testing asks whether actual behavior matches expectations

The supplied testing materials define testing as examining application behavior against expected behavior or requirements, with the aim of finding defects and building confidence before delivery. Testing contributes to quality, but it does not mean that every possible defect has been found.

A useful plan distinguishes the level being tested from the type or technique used.

1. Understand the main testing levels

A common progression is:

  • Unit or component testing: checks a small unit or component in isolation.
  • Integration testing: checks interactions and interfaces between components or systems.
  • System testing: evaluates the integrated solution against system requirements.
  • Acceptance testing: evaluates whether the solution meets user or business needs.

The levels answer different questions. A component can pass its own tests while an integration fails because data is mapped incorrectly. A system can satisfy technical requirements while still failing a real business workflow.

2. Distinguish verification and validation

Verification asks whether work products meet their specified requirements: “Are we building it right?” Validation asks whether the resulting solution meets user needs: “Are we building the right thing?”

Reviews and inspections can examine requirements, designs or code without executing the application. Dynamic testing executes software and observes behavior. These activities complement one another.

3. Select a test approach

Testing can be manual or automated, and can use black-box or white-box perspectives. These are not competing levels:

  • Black-box testing derives checks from inputs, outputs and externally observable behavior.
  • White-box testing uses knowledge of internal structure or logic to guide coverage.
  • Manual testing uses a person to perform and evaluate steps.
  • Automation executes repeatable checks through scripts or tools.

Choose based on risk, repeatability, complexity, feedback speed and maintenance cost.

4. Connect tests to requirements and risk

For each requirement, identify the evidence that would demonstrate it is satisfied. Prioritize business-critical workflows, permissions, data integrity, integrations and failure recovery. A test suite should cover both expected use and meaningful exceptions.

Do not equate a high test count with strong coverage. Several tests may repeat the same path while a critical role or boundary condition remains untested.

5. Interpret results accurately

A pass means the observed result matched the expected result for that test and environment. A fail means there is a discrepancy to investigate. A blocked test could not be completed and is not evidence of success.

Record environment, version, data and evidence so a result can be reproduced. When a defect is found, provide enough detail for diagnosis and retesting.

Common misconceptions

  • Testing proves that software is defect-free.
  • Testing and debugging are the same activity.
  • Automation replaces all exploratory or human judgment.
  • Acceptance testing can replace integration and system testing.
  • A passed test remains valid after every code or data change.

Source basis

Based on the supplied Beginners Guide to Software Testing, Software Testing Tutorial and Software Testing and Quality Assurance materials, including testing purpose, levels, methods, verification, validation and the distinction between testing and debugging.

Official references

EDITORIAL HISTORY

What changed

  1. v1
    Initial bilingual publication
MEASUREMENT SUPPORT

Need a hand with your tracking?

Nicolas Salazar works with teams on analytics, tracking plans, data quality, consent, and implementation.