DEV Community

Sasireka
Sasireka

Posted on

Test Cases

1) What is Test Case?

A test case is a set of conditions or steps used to check whether a software feature works correctly or not.

2) Main Components of a Test Case

  • Test Case no – Unique number

  • Test Scenario – What we are testing

  • Test Steps – Actions to perform

  • Expected Result – What should happen

  • Actual Result – What actually happened

  • Attachment - Screenshot

3) Why Test Cases are Important?

  • Ensure the application works correctly

  • Help find bugs/errors

  • Improve software quality

  • Useful for documentation and re-testing

Example: Sign Up Page

Top comments (0)