Skip to content

Instantly share code, notes, and snippets.

@yashaka
Created October 16, 2025 08:31
Show Gist options
  • Select an option

  • Save yashaka/e1f4d54744454c1a62d28c9ac89b6136 to your computer and use it in GitHub Desktop.

Select an option

Save yashaka/e1f4d54744454c1a62d28c9ac89b6136 to your computer and use it in GitHub Desktop.
Compex features test design template (very draft)

Files Check Test Design

Master Test Case Template

context: ...; trigger: ...; checked?: ...; edited: ...; check prerequisites:...; decision criteria:... ===> ( ‖ re-)checked

Scheme

[ ] TBD

Explanations
  • the above test case is a master test case template
  • the actual test cases can miss or combine some of its parts and use more abbreviations if needed
  • the actual test cases are listed below
    • -> = highlights a "test step" that changes a value of specific test param (if exist, then all other test params are considered as a precondition relatively to such step)
    • N-> = Nth test step (i.e. test step number N), e.g. 1-> = 1st test step, 2-> = 2nd test step
  • Legend:
    • value = the value for test parameter is mentioned as existing case but intentionally de-prioritized from testing
    • ‖ = OR
    • absence of punctuation between sub-list items in Scheme = OR
    • , = AND, usually on test param values level
    • ; = AND, usually on test params or test steps level
    • ==> = divides test params from expected result on the right
    • <== = divides test params from expected result on the left
    • ... = "whatever appropriate matched, taking into account other test params and expected result", reflects the idea of "pattern matching", like in graphql, datalog, or Cypher
    • bold = highlights the "key" test param value or expected result
    • ⁑ = highlights the key test param value in context of applied pair wise td technique

Test Cases

Legend
"Found on check triggered by created"
context trigger checked? edited check prerequisites decision criteria ==> (re-)checked Instructions (Preconditions & Steps)
checking enabled created "unknown" NO edits YES (...) YES (...) found
[ ] TBD
Etc (Test Design TODOs)
  • trace coverage to master test case
  • apply pair wise to columns with currently constant values
  • optimize columns (change to ... where relevant)
  • add priority column to all tables
  • recheck for missed test cases, thinking about most common use cases in real life, and set priorities correspondingly
  • add automation column to all tables (values: SM, SP(ui‖api), IP, UP, SA(ui‖api), IA, UA)
MIT License
Copyright (c) 2025 Iakiv Kramarenko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment