mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
testing framework: perform a plan before starting any tests (#33561)
This commit is contained in:
10
internal/command/testdata/test/invalid_default_state/main.tftest.hcl
vendored
Normal file
10
internal/command/testdata/test/invalid_default_state/main.tftest.hcl
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
run "test" {
|
||||
variables {
|
||||
input = "Hello, world!"
|
||||
}
|
||||
|
||||
assert {
|
||||
condition = test_resource.resource.value == "Hello, world!"
|
||||
error_message = "wrong condition"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user