Testing Strategies - White Box (Code) and Black Box (Specification) Testing

Testing Strategies:

- A Test Case is a set of data that the system will process as normal input.
- Each Test Case is designed with the intent of finding errors.

There are two general strategies for testing software.

Code Testing: (White Box Testing)

- It examines the logic of the program.
  • Every Instruction and Path is tested in this strategies.
  • Virtually impossible to perform this kind of testing for large business system.
  • It doesn’t guarantee against software failure,even if we perform it.
  • We can’t check whether software meets its specification.
  • It doesn’t check the range of data that the program will accept.
Specification Testing: (Black Box Testing)
  • We can check whether software meets its specification under various condition.
  • Assumption is that “If program meets the specification, It will not fail.
  • More efficient because it focus on the way software is expected to be used.

Comments

Popular posts from this blog

Food Ordering System

What is DFD ? or What is Data Flow Diagram?

Rules for Stopping the Decomposition Process in DFD