The test case is a document that describes an event, action, and expected output in a correct program. It allows checking whether the application feature is working correctly or not.