You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing/testing-best-practices.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,10 +136,7 @@ It is advised to only run a **single** test at a time when a plural data source
136
136
1. Import state with a fixed `.tf` file
137
137
2. Run terraform plan with an updated `*.tf` file and perform plan checks, for example check for known/unknown values in the plan. The actual update is not performed. See [Hashicorp docs](https://pkg.go.dev/github.com/hashicorp/[email protected]/plancheck#PlanCheck) for plan check options.
138
138
139
-
For a full example see [plan_modifier_test.go](../internal/service/advancedclustertpf/plan_modifier_test.go).
140
-
141
-
### File generation
142
-
For a full example of generation see [`http_mocker_plan_checks_test.go`](../internal/testutil/unit/http_mocker_plan_checks_test.go)
139
+
For a full example see [plan_modifier_test.go](../internal/service/advancedcluster/plan_modifier_test.go).
143
140
144
141
1. Stores the last `GET` response from an existing [MacT](#mact---mocked-acceptance-tests) test case step. For example the last GET of `/api/atlas/v2/groups/{groupId}/clusters/{clusterName}`
0 commit comments