Lompat ke konten

Testing methods

English

How do you know it works?

  • Running a program once and seeing an answer is not testing. Testing means choosing data on purpose and comparing the output with the result you expected.
  • 9618 Paper 2 names the methods. Each one fits a different moment in the work.

Four testing methods: dry run (trace by hand), white-box (see the code, test every path), black-box (see only inputs and outputs, normal, abnormal and boundary data) and stub testing (a stand-in for an unwritten module)

Masuk atau buat akun

IGCSE, A-Level & AP