terraform-provider-mackerel
terraform-provider-mackerel copied to clipboard
Adds framework based acctest for "mackerel_service"
Output from acceptance testing:
$ make testacc TESTS='"TestAcc_MackerelService(Resource|DataSource)_"'
TF_ACC=1 go test -v ./mackerel/... ./internal/provider/... -run "TestAcc_MackerelService(Resource|DataSource)_" -timeout 120m
testing: warning: no tests to run
PASS
ok github.com/mackerelio-labs/terraform-provider-mackerel/mackerel (cached) [no tests to run]
=== RUN TestAcc_MackerelServiceDataSource_basic
=== PAUSE TestAcc_MackerelServiceDataSource_basic
=== RUN TestAcc_MackerelServiceResource_basic
=== PAUSE TestAcc_MackerelServiceResource_basic
=== CONT TestAcc_MackerelServiceDataSource_basic
=== CONT TestAcc_MackerelServiceResource_basic
--- PASS: TestAcc_MackerelServiceDataSource_basic (4.37s)
--- PASS: TestAcc_MackerelServiceResource_basic (8.32s)
PASS
ok github.com/mackerelio-labs/terraform-provider-mackerel/internal/provider 9.129s
do same thing on https://github.com/mackerelio-labs/terraform-provider-mackerel/pull/229