massdriver-cloud / massdriver-cli

Deprecated. See https://github.com/massdriver-cloud/mass
https://massdriver.cloud
Apache License 2.0
3 stars 2 forks source link

cobrify "cory's ruby script" into `mass bundle test` #77

Open jaketf opened 2 years ago

jaketf commented 2 years ago

make this helper script a first class citizen of the CLI

coryodaniel commented 2 years ago

I'm not positive cobra is the best way if we are going to support running tests, but maybe we can wrap terratest and do something like mass bundle test --scenario=PresetName to stand up and run tests, which would probably need to be in a main_test.go file... at that point not sure if it makes sense to stand everything up since terratest supports that as well.

This will have to account for multi-step bundles.