solargraph_test_coverage 0.3.1 → 0.3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dca8ac48cbb879d7410d76d58772620fa7468e60732adda23449bb356b5e492a
|
4
|
+
data.tar.gz: f469cbc81df6451f4b9ccc43d33caccdeb9f931ab66f562789cc659719c35907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaef9767e530370fd3ccc9a15583e29a8d7d20838efc51a3bc17c2e04d08522121a694e6afae9cbd79a198151d092778b68e0196dffa2e2871cf9fe8e77a8079
|
7
|
+
data.tar.gz: c7882927c706580ae3d21e58de450b535258d5455f5e97826a3f59876480624d68ddafabbc4f1da7b5606ae4a7b2d6b8b2f02dccbc0514329be3255be8c464fe
|
data/README.md
CHANGED
@@ -2,12 +2,15 @@
|
|
2
2
|
|
3
3
|
Solargraph Plugin that provides a diagnostic reporter for unit-test coverage.
|
4
4
|
|
5
|
-
Currently there are four different diagnostics:
|
5
|
+
Currently there are four different diagnostics when viewing an app/unit file:
|
6
6
|
- Line is not covered
|
7
7
|
- Branch is not covered (With a note if it's the 'THEN' or 'ELSE' branch)
|
8
8
|
- Spec is failing (Error message will be on line 1)
|
9
9
|
- Spec cannot be found (Error message will be on line 1)
|
10
10
|
|
11
|
+
There's one diagnostic if you're viewing a spec file:
|
12
|
+
- Example Status. Reports if an `it` block is currently failing (rspec only for now)
|
13
|
+
|
11
14
|
|
12
15
|
## Installation
|
13
16
|
|
@@ -24,6 +27,7 @@ plugins:
|
|
24
27
|
- solargraph_test_coverage
|
25
28
|
reporters:
|
26
29
|
- test_coverage
|
30
|
+
- example_status
|
27
31
|
```
|
28
32
|
|
29
33
|
Additionally, a `test_coverage` key can be added to `.solargraph.yml`. The default values are shown below:
|
@@ -37,6 +41,7 @@ test_coverage:
|
|
37
41
|
- branch
|
38
42
|
- test_failing
|
39
43
|
- test_missing
|
44
|
+
- example_failing
|
40
45
|
exclude_paths:
|
41
46
|
- 'app/controller'
|
42
47
|
- 'concerns'
|