TL;DR
In the previous post, we introduced a definition for Test Case values. This time we discuss an essential part of every test expected result. We will introduce you to software testing based on the remarkable book, Introduction To Software Testing by Paul Ammann and Jeff Offutt.
Definition Of Expected Result
The expected result is one of the main reasons why we have so many definitions of software testing. The apparent meaning of software testing is to observe software results based on test inputs and compare those to the expected results.
This book gives an obvious definition of the expected result:
Expected Results: The result produced when executing the test if and only if the program satisfies its intended behavior.
The tricky parts with the expected result are:
- we do not know the expected result
- we use the wrong expected result
- we make an error while comparing actual with the expected result
- it is not possible to compare actual with the expected result
Comments are closed.