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-0.6.10 lib/terraspace/cli/help/test.md
terraspace-0.6.9 lib/terraspace/cli/help/test.md
terraspace-0.6.8 lib/terraspace/cli/help/test.md
terraspace-0.6.7 lib/terraspace/cli/help/test.md
terraspace-0.6.6 lib/terraspace/cli/help/test.md
terraspace-0.6.5 lib/terraspace/cli/help/test.md
terraspace-0.6.4 lib/terraspace/cli/help/test.md
terraspace-0.6.3 lib/terraspace/cli/help/test.md
terraspace-0.6.2 lib/terraspace/cli/help/test.md
terraspace-0.6.1 lib/terraspace/cli/help/test.md
terraspace-0.6.0 lib/terraspace/cli/help/test.md
terraspace-0.5.12 lib/terraspace/cli/help/test.md
terraspace-0.5.11 lib/terraspace/cli/help/test.md
terraspace-0.5.10 lib/terraspace/cli/help/test.md
terraspace-0.5.9 lib/terraspace/cli/help/test.md
terraspace-0.5.8 lib/terraspace/cli/help/test.md
terraspace-0.5.7 lib/terraspace/cli/help/test.md
terraspace-0.5.6 lib/terraspace/cli/help/test.md
terraspace-0.5.5 lib/terraspace/cli/help/test.md
terraspace-0.5.4 lib/terraspace/cli/help/test.md