The testform suite command automates the lifecycle of test suites (testrun and testplan), enabling QA leads and analysts to structure, populate, link, and mark test collections rapidly, without having to write Gherkin syntax by hand.
All testform suite subcommands include built-in interactive self-help:
Running simply testform suite without any subcommand opens an interactive menu to choose an operation (init, fill, link, mark).
If you omit -target in fill, link, or mark, the CLI lists the available suites in your workspace with their identity tags and feature titles so you can pick one from a numbered list.
If you omit the scope or title in init, the CLI guides you step-by-step through creating it.
If you omit the testcase to link or mark, the CLI lets you select between implicit and explicit linking and pick the file and scenario interactively.
Explicit Linking (specific scenario): Links a specific scenario under its rule, injecting the step * mark status = <status> (defaults to pending if no status is provided):
[!IMPORTANT]
Test plans (testplan) only link entire execution suites (testrun). By Testform specification and policy, .plan.feature files must not contain explicit Scenario blocks.
Records or updates the execution status (passed, failed, pending, skipped) of an existing testcase in a test run (testrun), synchronizing the local Gherkin file (* mark status = <status>) and re-evaluating the consolidated Rollup Verdict directly in the state ledger testform.state:
[!WARNING]
Requirement for Implicit Rules:
If a testcase belongs to a rule that is still implicit (Rule: file.case.feature) and has not yet been expanded into the suite file, suite mark will not modify state and will emit an error requiring you to first run:
Ventana de terminal
testformsuitefill-target="@tr-42"
This ensures that all scenarios explicitly exist in the file before recording execution outcomes against them.
Both link and mark support three flexible strategies to identify testcases:
Identity Tag Only:"@tc-1=passed" (or "tc-1=passed"): Matches the case in workspace or testrun by its unique tag.
File + Tag (or Name):"checkout.case.feature.@tc-1=passed" (or "checkout.case.feature@tc-1=passed"): Disambiguates cases when multiple files share similar tags.
Scenario Name/Title Only:"Successful user login=passed": Resolves directly against the Gherkin scenario name.
A test case (@tc-1) is a specification executed across multiple different runs over time (Sprint 41, Sprint 42, Nightly Regression). To link or mark the result of @tc-1, the system needs to know which specific run or suite this action belongs to.
-target identifies the container (the Test Run or Test Plan, e.g. @tr-42, @tp-1, or sprint42.run.feature).
The positional argument identifies the inner element and its outcome (the Test Case or Test Run to link).