A test case is a set of conditions and steps used to verify whether a software feature works as expected.
Explanation:
- A test case typically includes test ID, input, expected output, and actual output.
- It helps identify bugs before deployment.
- Test cases can be manual or automated (Selenium, JUnit, etc.).
Example Test Case:
Test ID | Description | Input | Expected Output | Result |
---|---|---|---|---|
TC001 | Login with valid user | User1 | Success message | Passed |
TC002 | Login with wrong password | User1, wrong pass | Error message | Failed |
Leave a Reply