File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -275,6 +275,21 @@ fn always_fails() -> Result<()> {
275
275
}
276
276
```
277
277
278
+ ## Configuration
279
+
280
+ This library is configurable through environment variables. Since the
281
+ configuration does not impact whether a test fails or not but how a failure is
282
+ displayed, we recommend setting those variables in the personal
283
+ ` ~/.cargo/config.toml ` instead of in the project-scoped ` Cargo.toml ` .
284
+
285
+ ### Configuration variable list
286
+
287
+ | Variable name | Description |
288
+ | ------------------- | -------------------------------------------------- |
289
+ | GTEST_RUST_NO_COLOR | If set to any value, disables ANSI output from the |
290
+ : : failure message. This is useful when the failure :
291
+ : : description is piped to a file or another process. :
292
+
278
293
## Contributing Changes
279
294
280
295
Please read [ CONTRIBUTING.md] ( CONTRIBUTING.md ) for details on how to contribute
You can’t perform that action at this time.
0 commit comments