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
Coverage is automatically enabled when using `--coverage-report`, `--coverage-report-html`, or `--coverage-min`. You don't need to specify `--coverage` explicitly with these options.
66
+
:::
67
+
64
68
### Environment Variables
65
69
66
70
You can also configure coverage via environment variables in your `.env` file:
@@ -133,7 +137,7 @@ Fail the test run if coverage drops below a threshold:
133
137
134
138
::: code-group
135
139
```bash [Command]
136
-
bashunit tests/ --coverage --coverage-min 80
140
+
bashunit tests/ --coverage-min 80
137
141
```
138
142
```[Output - Passing]
139
143
Coverage Report
@@ -169,7 +173,7 @@ Generate a detailed HTML report showing line-by-line coverage:
0 commit comments