Test Case Creation for Further Automation | EPAM SolutionsHub
Error Icon

Something went wrong. Please try again

Test Case Creation for Further Automation Hero Banner

Test Case Creation for Further Automation

July 20, 2020 | 1 min read

Blogpost TestCaseCreationAutomation

This document establishes guidelines for creating concise and prioritized test cases in checklist format, ensuring clarity and effective testing. It emphasizes single-assert test cases, logical grouping, data-driven approaches, and clearly defined expected results.

Basic Rules

  1. The test must be written in the form of a checklist without deep detail.

  2. Test cases have priority level (blocker/critical/major/minor) based on the documented approach or on any other document.

  3. The summary must be short but clear to understand its meaning.

  4. Each test is created for one feature testing and contains only one assertion.

  5. Assert can be directed on several conditions, but they must happen simultaneously (without additional steps). See the document attached below for details.

  6. Grouping of test sets must be correctly formed:

    • Unite similar tests in one

    • Do not unite different tests in one

  7. Test cases must not contain a chain of steps with expected results for them (in a way "step-result" → "step-result" → "step-result"); such test cases must be separated into several test cases with different pre-conditions. See the document attached below for details.

  8. One test must be created for cases when there is a necessity to check several conditions, but they come simultaneously.

  9. The expected result must be clearly described in the test case body.

  10. Use a data-driven approach: "one test with different input parameters" → "1 case with tabular data inside" (applied for cases directed on different validation rules check-up, describe the table as a table with columns: value - isValid - errorMessageText).

End State

  1. Do not use unclear test cases/expected results that refer to other ones, such as "Must be worked as in Story "XXX" on iPnone6" (unclear expected result) or "Page layout must be looked pretty enough" (as well, the expected result is unclear).

  2. Test scenarios must not be a copy-paste of the requirements from the SRS; they must be adapted and clearly formed.

Documented Example

Methods and Examples

Related Content

View All Articles
Subscription banner

Get updates in your inbox

Subscribe to our emails to receive newsletters, product updates, and offers.

By clicking Subscribe you consent to EPAM Systems, Inc. processing your personal information as set out in the EPAM SolutionsHub Privacy Policy