Test Case
A documented set of conditions and steps used to verify that a software feature works as expected.
Full Definition
A test case is a detailed specification of inputs, execution conditions, testing procedures, and expected results that define a single test to be executed. It serves as both a guide for testers during execution and documentation of what was tested.
A well-written test case includes:
- •Test Case ID: Unique identifier for tracking
- •Title: Brief description of what's being tested
- •Preconditions: Required state before execution
- •Test Steps: Sequential actions to perform
- •Expected Results: What should happen
- •Actual Results: What actually happened (filled during execution)
- •Status: Pass, Fail, Blocked, or Skipped
Test cases are the fundamental building blocks of systematic testing. They ensure consistency across testers and over time, enable coverage tracking, and provide audit trails for compliance.
Examples
- 1.TC-001: Verify user can log in with valid email and password
- 2.TC-002: Verify error message displays for invalid password
- 3.TC-003: Verify account lockout after 5 failed login attempts
In BesTest
BesTest provides structured test case creation with preconditions, steps, expected results, and a built-in review workflow to ensure quality before execution.
Related Terms
Test Suite
A collection of test cases grouped together for a specific testing purpose.
Test Cycle
A single iteration of testing a specific set of test cases, typically associated with a release or sprint.
Test Execution
The process of running test cases and recording the actual results.
Expected Result
The anticipated outcome of a test case step or the test case as a whole.
See Test Case in Action
Experience professional test management with BesTest. Free for up to 10 users.
Try BesTest Free