@@ -140,7 +140,7 @@ The `nproc` binary is commonly available on most Linux distributions. If it's no
140
140
141
141
### Unit tests (and code coverage)
142
142
143
- This will run Unit and Fuzz tests. This tests the low-level Go code, but not the Terraform integration wrapped around it.
143
+ This will run Unit tests. This tests the low-level Go code, but not the Terraform integration wrapped around it.
144
144
145
145
```bash
146
146
# Run all unit tests
@@ -150,15 +150,16 @@ make unit
150
150
make unit NAME=TruncateLabel
151
151
```
152
152
153
- You can view the code coverage report with:
153
+ You can view the code coverage report with either :
154
154
155
155
```bash
156
- make view-cov
156
+ make view-cov-cli # on the CLI
157
+ make view-cov-html # in the browser
157
158
```
158
159
159
160
### Terraform provider acceptance tests (and code coverage)
160
161
161
- This will run all tests: Unit, Acceptance, and Fuzz . Acceptance tests run the code through Terraform and test the Terraform communication pathway.
162
+ This will run Acceptance tests . Acceptance tests run the code through Terraform and test the Terraform communication pathway.
162
163
163
164
```bash
164
165
# Run all acceptance tests
@@ -168,10 +169,27 @@ make acc
168
169
make acc NAME=TruncateLabel
169
170
```
170
171
171
- You can view the code coverage report with:
172
+ You can view the code coverage report with either :
172
173
173
174
```bash
174
- make view-cov
175
+ make view-cov-cli # on the CLI
176
+ make view-cov-html # in the browser
177
+ ```
178
+
179
+ ### Documentation Examples as tests (and code coverage)
180
+
181
+ This will run the Documentation Examples as tests. This ensures that the examples we put in front of users actually work.
182
+
183
+ ```bash
184
+ # Run all example tests
185
+ make examples
186
+ ```
187
+
188
+ You can view the code coverage report with either:
189
+
190
+ ```bash
191
+ make view-cov-cli # on the CLI
192
+ make view-cov-html # in the browser
175
193
```
176
194
177
195
### Fuzzer
0 commit comments