localstack / localstack-terraform-test

Utilities to run Terraform tests against LocalStack
25 stars 6 forks source link

Add option to summarize report on CLI #8

Closed bblommers closed 3 years ago

bblommers commented 3 years ago

Adds an additional script that shows a quick summary. It will also throw an error if any test has failed. This is the script currently in use in the Moto CI.

Edit to give some background: We were talking about the possibility of converging both LS's and Moto's TF test repo, which makes a lot of sense. This script is the only thing that is significantly different in Moto's version, and the one thing standing in the way of Moto adopting this repo as the canonical TF test repo.

bin/create-report
bin/create-report-cli

Example output for a failing test suite can be found here: https://github.com/spulec/moto/runs/3257612401?check_suite_focus=true

cc @whummer

whummer commented 3 years ago

Looks great, thanks @bblommers ! 👍