solargraph_test_coverage 0.3.1 → 0.3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74b455e9459cc2032d23bcb1acf41d4d31f9ee3b8148c67895598ace977a98e9
4
- data.tar.gz: a0c2942f3973466af1d7782363415e5accd17fb1f65c9fcd6d930dedd8b363c0
3
+ metadata.gz: dca8ac48cbb879d7410d76d58772620fa7468e60732adda23449bb356b5e492a
4
+ data.tar.gz: f469cbc81df6451f4b9ccc43d33caccdeb9f931ab66f562789cc659719c35907
5
5
  SHA512:
6
- metadata.gz: f8abcd10d5c816586cab20e0b20ca3925df48723d64c9442fe63d8cbcbfacdc51367da617bf77adb158c22653ca08bf8cc92005cd83ecf170216ccb19eefc3ad
7
- data.tar.gz: 7d4fbef5094bb5ebc477daebfe20b70ca0c9e6fd6d3a04053138bafee245094bfe51b38e05251837a665b275b2a16cfd8f6f33ce4dc3839bc9726000eb499b94
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'
@@ -15,7 +15,7 @@ module SolargraphTestCoverage
15
15
 
16
16
  @results = run_test(@filename)
17
17
 
18
- example_failing_errors
18
+ example_failing_errors.compact
19
19
  rescue ChildFailedError => e
20
20
  Config.debug? ? [debug_message(e)] : []
21
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolargraphTestCoverage
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph_test_coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Kolkey