ojongerius / terraform-provider-datadog

A Terraform plugin to manage Datadog resources.
Mozilla Public License 2.0
29 stars 6 forks source link

Add tests for each resource. #1

Closed ojongerius closed 9 years ago

ojongerius commented 9 years ago

DoD: Each resource has tests.

ojongerius commented 9 years ago

Working on resourceDatadogDashboard.

ojongerius commented 9 years ago

Dashboard done, moving on to resourceDatadogGraph.

ojongerius commented 9 years ago

Created tests for resourceDatadogGraph:

--- PASS: TestProvider (0.00s)
--- PASS: TestProvider_impl (0.00s)
--- PASS: TestAccDatadogDashboard_Basic (4.19s)
--- PASS: TestAccDatadogGraph_Basic (8.57s)
PASS

Moving on to resourceDatadogMonitor.

ojongerius commented 9 years ago

Done with Monitor. Both Graph and Monitor tests could go one lever deeper, and have added that as TODOs.

--- PASS: TestAccDatadogMonitor_Basic (5.58s)

Done with this iteration.