github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/init-with-tests-with-provider/main.tftest.hcl (about)

     1  run "setup" {
     2    module {
     3      source = "./setup"
     4    }
     5  }
     6  
     7  run "test" {
     8    assert {
     9      condition = test_instance.foo.ami == "bar"
    10      error_message = "incorrect value"
    11    }
    12  }