alekc / terraform-provider-auth0

Mozilla Public License 2.0
18 stars 7 forks source link

Implement auth0_role data source #35

Closed bobhigs closed 2 years ago

bobhigs commented 2 years ago

Proposed Changes

Acceptance Test Output

$ make testacc TESTARGS="-run TestAccDataSourceRole"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./auth0 -v -count 1 -parallel 10 -run TestAccDataSourceRole -timeout 15m -coverprofile="c.out"
=== RUN   TestAccDataSourceRole
=== PAUSE TestAccDataSourceRole
=== RUN   TestAccDataSourceRolePermissions
=== PAUSE TestAccDataSourceRolePermissions
=== CONT  TestAccDataSourceRole
=== CONT  TestAccDataSourceRolePermissions
--- PASS: TestAccDataSourceRolePermissions (28.50s)
--- PASS: TestAccDataSourceRole (37.41s)
PASS
coverage: 11.2% of statements
ok      github.com/alekc/terraform-provider-auth0/auth0 37.614s coverage: 11.2% of statements

make testacc TESTARGS="-run TestAccRole"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./auth0 -v -count 1 -parallel 10 -run TestAccRole -timeout 15m -coverprofile="c.out"
=== RUN   TestAccRole
=== PAUSE TestAccRole
=== RUN   TestAccRolePermissions
=== PAUSE TestAccRolePermissions
=== CONT  TestAccRole
=== CONT  TestAccRolePermissions
--- PASS: TestAccRolePermissions (11.91s)
--- PASS: TestAccRole (20.92s)
PASS
coverage: 11.1% of statements
ok      github.com/alekc/terraform-provider-auth0/auth0 21.103s coverage: 11.1% of statements

Community Note

Checklist

alekc commented 2 years ago

/ok-to-test sha=09e8464

alekc commented 2 years ago

Thanks @bobhigs !