Test execution
Before execution, a team writes a test case that says what to check and how. During execution, that plan gets carried out: a person follows the steps by hand, or a script runs them, and the actual outcome is compared to the expected one. After execution, the result goes into reporting and, if something failed, into a fix. Execution is the middle step, where testing stops being a document and starts producing answers.
For a manual test, a tester follows the documented steps, watches what happens, and records a pass or fail. Good testers also note odd behavior they spot along the way, even when it's outside the test case. For an automated test, a script does the same steps and the comparison happens in code, which is what makes it practical to run a large test suite over and over. Either way, the output is a result tied to the test run it happened in.
Execution is also where problems unrelated to the test case show up. A flaky test shows its inconsistency here. A stale environment or bad test data causes a failure that has nothing to do with the application. And it's where the gap between planned and actual coverage becomes visible. A plan might list two hundred test cases, but if time ran out after one hundred and eighty, only execution tells you that.
What happens during execution
- A tester follows the documented steps by hand, or a script runs them.
- The actual result is observed, or captured in code.
- That result is compared against what the test case said to expect.
- A pass, fail, skip, or blocked status is recorded for that run.
- Unexpected behavior outside the test case's scope sometimes gets noted, even when it wasn't what was being checked.
Where it shows up
- A manual tester working through a documented test case step by step during a release cycle.
- An automated suite running hundreds of test cases unattended as part of a CI/CD pipeline.
- A gap between planned and executed test cases coming up in a release readiness review.
- A flaky test's inconsistency showing up at execution time, not during planning or design.
Benefits and challenges
| Benefit | Challenge |
|---|---|
| Turns a test plan into a concrete, verifiable result, instead of leaving coverage as an intention. | Environment issues, stale data, and flaky tests surface here, even when the test case itself was written correctly. |
| Automated execution makes it practical to run a large suite repeatedly, which manual execution can't sustain at scale. | A gap between planned and executed coverage is easy to miss until execution reveals it. |
| Produces the raw results that reporting and quality metrics are built from. | Execution depends on everything upstream being right, like the test case and the environment, and it can't fix either on its own. |
Frequently asked questions
What's the difference between test execution and a test run?
Test execution is the activity: carrying out a test and recording its result. A test run is the timestamped record of one instance of that, including which build and environment it ran against. Execution is the action, and a run is the record of it.
What's the difference between test execution and test case design?
Test case design comes first: deciding what to check, the steps, the input, and the expected result. Test execution comes after, carrying out those steps and recording what happened, whether a person or a script does it.
Why does a gap between planned and executed tests happen?
Usually time constraints, environment issues, or a blocked dependency that stops a planned test from running within a release cycle. Tracking execution against the original plan is how that gap becomes visible, instead of assuming every planned test ran.
How Klarent helps
Klarent's AI agents handle execution directly from a plain-language test description, running the comparison between actual and expected results automatically and reasoning about whether a mismatch reflects a real defect.