terraform-provider-mackerel icon indicating copy to clipboard operation
terraform-provider-mackerel copied to clipboard

Adds framework based acctest for "mackerel_service"

Open tosuke opened this issue 1 year ago • 1 comments

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

tosuke avatar Jul 04 '24 11:07 tosuke

do same thing on https://github.com/mackerelio-labs/terraform-provider-mackerel/pull/229

tosuke avatar Jul 24 '24 11:07 tosuke