README.md in simple_cov-formatter-terminal-1.6.0 vs README.md in simple_cov-formatter-terminal-1.7.0
- old
+ new
@@ -102,9 +102,13 @@
SimpleCov::Formatter::Terminal.config.spec_to_app_file_map = {
%r{\Aspec/my_special/directory_structure/} => 'my_special/app_directory/',
}
```
+### Manually specifying file for which to show coverage
+
+An alternative to using the `spec_to_app_file_map` configuration is to set a `SIMPLECOV_TARGET_FILE` environment variable.
+
## Branch coverage
If you enable branch coverage for SimpleCov (via `enable_coverage(:branch)` within your
`SimpleCov.start` block; read more [here][simple-cov-branch-coverage]), then branch coverage info
will be included in SimpleCov::Formatter::Terminal's output. Missed branches will be indicated with