Sha256: 0e3c8e0682ded7c467f3477bc45096f978f3bca4f5ef63e5f67accfbe25cc9c3

Contents?: true

Size: 1.37 KB

Versions: 92

Compression:

Stored size: 1.37 KB

Contents

## Example

Terraspace test just calls the configured test framework, by default, rspec.
Here's an example with output cleaned up to reduce noise:

    $ terraspace test
    => rspec

    main
    Building test harness...
    ...
    Test harness built: /tmp/terraspace/test-harnesses/demo-harness
    => terraspace up demo -y
    Building .terraspace-cache/us-west-2/test/stacks/demo
    Built in .terraspace-cache/us-west-2/test/stacks/demo
    Current directory: .terraspace-cache/us-west-2/test/stacks/demo
    => terraform init -get >> /tmp/terraspace/log/init/demo.log
    => terraform plan -out /tmp/terraspace/plans/demo-20200920160313.plan
    ...
    => terraform apply -auto-approve  /tmp/terraspace/plans/demo-20200920160313.plan
    ...
    => terraform destroy -auto-approve
    random_pet.this: Refreshing state... [id=hopelessly-outgoing-serval]
    module.bucket.aws_s3_bucket.this: Refreshing state... [id=bucket-hopelessly-outgoing-serval]
    module.bucket.aws_s3_bucket.this: Destroying... [id=bucket-hopelessly-outgoing-serval]
    module.bucket.aws_s3_bucket.this: Destruction complete after 0s
    random_pet.this: Destroying... [id=hopelessly-outgoing-serval]
    random_pet.this: Destruction complete after 0s

    Destroy complete! Resources: 2 destroyed.
    Time took: 5s

    Finished in 22.08 seconds (files took 0.48602 seconds to load)
    1 example, 0 failures
    $

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
terraspace-2.2.17 lib/terraspace/cli/help/test.md
terraspace-2.2.16 lib/terraspace/cli/help/test.md
terraspace-2.2.15 lib/terraspace/cli/help/test.md
terraspace-2.2.14 lib/terraspace/cli/help/test.md
terraspace-2.2.13 lib/terraspace/cli/help/test.md
terraspace-2.2.12 lib/terraspace/cli/help/test.md
terraspace-2.2.11 lib/terraspace/cli/help/test.md
terraspace-2.2.10 lib/terraspace/cli/help/test.md
terraspace-2.2.9 lib/terraspace/cli/help/test.md
terraspace-2.2.8 lib/terraspace/cli/help/test.md
terraspace-2.2.7 lib/terraspace/cli/help/test.md
terraspace-2.2.6 lib/terraspace/cli/help/test.md
terraspace-2.2.5 lib/terraspace/cli/help/test.md
terraspace-2.2.4 lib/terraspace/cli/help/test.md
terraspace-2.2.3 lib/terraspace/cli/help/test.md
terraspace-2.2.2 lib/terraspace/cli/help/test.md
terraspace-2.2.1 lib/terraspace/cli/help/test.md
terraspace-2.2.0 lib/terraspace/cli/help/test.md
terraspace-2.1.7 lib/terraspace/cli/help/test.md
terraspace-2.1.6 lib/terraspace/cli/help/test.md