Test cases are documents that contain test data, preconditions, test steps, expected results, and postconditions to verify a specific requirement. They provide a starting point for test execution and leave the system in a defined state. Good test cases are accurate, economical, traceable, repeatable, reusable, simple, objective, relevant, avoid duplication and dependency. Test cases should be written based on requirements documents and cover both positive and negative scenarios using clear language. An ideal test case includes an ID, use case ID, test objective, preconditions, test data, test steps, expected results, actual results, cycle, date, tester, status, severity, and resolution status.
Related topics: