README.md in solargraph_test_coverage-0.2.5 vs README.md in solargraph_test_coverage-0.2.6
- old
+ new
@@ -31,17 +31,17 @@
```yaml
test_coverage:
preload_rails: true
test_framework: rspec # or minitest
coverage:
- - line
- - branch
- - test_failing
- - test_missing
+ - line
+ - branch
+ - test_failing
+ - test_missing
exclude_paths:
- - 'app/controller'
- - 'concerns'
+ - 'app/controller'
+ - 'concerns'
```
And then execute:
@@ -49,9 +49,12 @@
$ bundle install
Or install it yourself as:
$ gem install solargraph_test_coverage
+
+A note on testing framework:
+Since both Minitest and RSpec are supported, neither are direct dependencies of this gem. Therefore, you have to have them installed separately either via your bundle or via `gem install`.
## Usage
With solargraph running and connected to your text editor, you should see diagnostic messages for line coverage, branch coverage, test file presence, and test status (if it's failing)