logic error
a problem where the program compiles & executes without an obvious error but delivers wrong result
testing
an activity concerned with finding out whether a segment of code contains any errors
debugging
unit testing
tests of the individual parts of an application, such as methods and classes
positive testing
the testing of cases that are expected to succeed
negative testing
testing of cases that we expect to fail
test automation
simplifies the process of regression testing
regression tests
JUnit
a popular testing framework to support organized unit testing and regression testing in Java
test class
assertion
an expression that states a condition that we expect to be true.
If the condition is false, we say that the assertion fails. this indicates an error in our program
fixture
a set of objects in a defined state that serves as a basis for unit tests
walkthrough
disadvantages of print statements