18.9. GlossaryΒΆ
- return value testΒΆ
A return value test invokes a function on a particular set of inputs and checks whether the return value is the correct one for those inputs.
- side effect testΒΆ
A side effect test invokes a function or method and then checks whether some objectβs contents were suitably transformed by the end of the execution of the function or method.
- test caseΒΆ
An assertion about the state of the program at particular point in its execution, such as the type of a variable or of a value returned by a function.
You have attempted of activities on this page