Skip to content

testform show

Ventana de terminal
testform [global options] show [options] [path]

The testform show command displays a human-readable or machine-readable representation of a state file or saved execution plan.

It is a read-only command used to inspect the current state of infrastructure without risking modifications.

Option Default Description
-json false Emits the entire state or plan as a structured JSON object.
-no-color false Disables colored output.
Ventana de terminal
$ testform show
# testcase.login_valid:
resource "testcase" "login_valid" {
id = 104
title = "Valid credentials allow login"
labels = ["auth", "smoke", "regression"]
milestone = "Sprint 42"
url = "https://github.com/my-org/web-app/issues/104"
state = "open"
}
Ventana de terminal
$ testform show testform.plan.bin
Testform will perform the following actions:
# checkout.case.feature::@tc-3 will be created
+ resource "testcase" "checkout_coupon" {
+ title = "Apply valid promotional coupon"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Ventana de terminal
testform show -json | jq '.resources[].instances[].attributes.title'
  • 0: Inspection succeeded.
  • 1: State or plan file could not be read.