Back to TresekoView full library

Create test cases, steps and versions

How to write useful test cases, maintain versions and avoid the suite becoming unmanageable.

Practical guide

1 guide found

All guides

Create test cases, steps and versions

How to write useful test cases, maintain versions and avoid the suite becoming unmanageable.

Open guide
Reading
9 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when you are going to load new test cases or adjust existing ones before an important build.

Expected result

The suite stays organized, test cases have clear steps and important changes are versioned so old executions are not confused.

A good test case is not a novel. It has an intention, clear preconditions, verifiable steps and an expected result that another person can repeat.

Versions help when the product changes. If an old execution failed against the previous version of the test case, do not erase the trail to make history look cleaner.

Treseko allows combining manual, internal automated and external result test cases. The difference must be clear from the test case type and its automation data.

Recommended flow

  1. Create or choose a suite with a concrete scope.
  2. Create the test case with name, code and brief description.
  3. Add preconditions if the test case depends on data or permissions.
  4. Write steps in executable order.
  5. Define expected result per step or per test case.
  6. Configure execution type: manual, automated or external.
  7. Save and assign the test case to the corresponding build.
  8. Create a new version when the expected behavior changes.

How to verify

  • Another person can execute the test case without asking you over chat.
  • The test case belongs to a suite that explains its scope.
  • Major changes are saved as a new version.
  • The test case code is stable if used via API or CI/CD.

Common pitfalls

  • Putting multiple scenarios into a single giant test case.
  • Changing steps after execution and losing historical comparability.
  • Using vague titles like Test login without expected result.
  • Forgetting to assign the test case to the build to be tested.
test casessuitespasosversionesauthoring