Skip to content

Testing and design quality

Introduced
Handout
Vocabulary
English Meaning
refactoring/rɪˈfæktərɪŋ/refactoring
unit test/ˈjuːnɪt test/unit test
arrangeThe first step of a unit test: set up the objects and data.
act/ækt/The second step of a unit test: call the behaviour being tested.
assertThe third step of a unit test: check that the result is what was expected.
single responsibility principleThe design principle that a class should have one coherent responsibility and reason to change.
couplingThe degree of dependency between software components.
cohesion/kəʊˈhiːʒn/How closely related the responsibilities within a software component are.

Handout

Log in or create account

IGCSE, A-Level & AP