2.3.6

Types of Testing

Test yourself

Types of Testing

Different types of testing take place at different points in the development of a solution, including performance and load testing, usability testing, functionality testing, and security testing.

Illustrative background for Iterative testingIllustrative background for Iterative testing ?? "content

Iterative testing

  • Iterative testing involves testing code as it is written.
    • The results of this continual testing are fed back into the development process.
Illustrative background for Terminal testingIllustrative background for Terminal testing ?? "content

Terminal testing

  • Terminal testing happens at the end of development:
    • The results of this final testing are used to check how the software performs when given a certain set of test data.

Types of Test Data

Illustrative background for NormalIllustrative background for Normal ?? "content

Normal

  • Normal test data is within the acceptable range of inputs.
  • It represents the typical values a user would enter during normal use.
  • It checks that the program works correctly under expected, everyday conditions.
  • Example: If the valid age range is 1–120, a normal value might be 45.
Illustrative background for BoundaryIllustrative background for Boundary ?? "content

Boundary

  • Boundary data sits on or very close to the limits of the allowed range.
  • It checks whether the system handles the smallest and largest valid values correctly.
  • It also includes values just outside the limits to ensure validation is working.
  • Example: For a valid range of 1–120:
    • Valid boundaries: 1, 120
    • Invalid boundaries: 0, 121
Illustrative background for Invalid/erroneousIllustrative background for Invalid/erroneous ?? "content

Invalid/erroneous

  • Invalid data is outside the valid range or in the wrong format.
  • It is used to make sure the system can detect errors and handle them safely.
  • It checks whether the program gives appropriate error messages instead of crashing.
  • Example: If a system expects a number, invalid data might be "hello".

Jump to other topics

1Computer Systems

1.1Systems Architecture

1.2Memory & Storage

1.3Computer Networks, Connections & Protocols

1.4Network Security

1.5Systems Software

1.6Ethical, Legal, Cultural & Environmental Concern

2Computational Thinking, Algorithms & Programming

2.1Algorithms

2.2Programming Fundamentals

2.3Producing Robust Programs

2.4Boolean Logic

2.5Programming Languages & IDEs

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium