Test Case

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 IDDescriptionInputExpected OutputResult
TC001Login with valid userUser1Success messagePassed
TC002Login with wrong passwordUser1, wrong passError messageFailed