rspec-tracer 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rspec_tracer/runner.rb +2 -0
- data/lib/rspec_tracer/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbe5a34cf76bcf55ded1f0a9c8067d682dc9eaf7b4d4827a9fc153c19afa25a3
|
4
|
+
data.tar.gz: d17e0522f2c5cb064029121a3cb8786034664121394eef3f73bdc0b8a181f691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec7251d9c7d450327e870d25c482e1c90bdbb40c38e41202ed1b95b98806691e6d02259c4f61f7ae333451224d0e6662b5994db2cd05c10efd9eda31157562de
|
7
|
+
data.tar.gz: e46dd0d565c75a8f8569db87dfec53fe32e2bf3e31bb2a6f31c4a460dd497ce45fc0dde5ede8bd417bd3866a1d594c41a3528713923139e3bbdbfe6d71fd3582
|
data/CHANGELOG.md
CHANGED
data/lib/rspec_tracer/runner.rb
CHANGED
@@ -187,6 +187,7 @@ module RSpecTracer
|
|
187
187
|
@cache.flaky_examples.each do |example_id|
|
188
188
|
@filtered_examples[example_id] = EXAMPLE_RUN_REASON[:flaky_example]
|
189
189
|
|
190
|
+
next unless @cache.dependency.key?(example_id)
|
190
191
|
next unless (@changed_files & @cache.dependency[example_id]).empty?
|
191
192
|
|
192
193
|
@reporter.register_possibly_flaky_example(example_id)
|
@@ -199,6 +200,7 @@ module RSpecTracer
|
|
199
200
|
|
200
201
|
@filtered_examples[example_id] = EXAMPLE_RUN_REASON[:failed_example]
|
201
202
|
|
203
|
+
next unless @cache.dependency.key?(example_id)
|
202
204
|
next unless (@changed_files & @cache.dependency[example_id]).empty?
|
203
205
|
|
204
206
|
@reporter.register_possibly_flaky_example(example_id)
|
data/lib/rspec_tracer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-tracer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abhimanyu Singh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docile
|
@@ -54,7 +54,7 @@ description: RSpec Tracer is a specs dependency analyzer, flaky tests detector,
|
|
54
54
|
accelerator, and coverage reporter tool for RSpec. It maintains a list of files
|
55
55
|
for each test, enabling itself to skip tests in the subsequent runs if none of the
|
56
56
|
dependent files are changed. It uses Ruby's built-in coverage library to keep track
|
57
|
-
of the coverage for each test
|
57
|
+
of the coverage for each test.
|
58
58
|
email:
|
59
59
|
- abhisinghabhimanyu@gmail.com
|
60
60
|
executables: []
|
@@ -113,7 +113,7 @@ licenses:
|
|
113
113
|
- MIT
|
114
114
|
metadata:
|
115
115
|
homepage_uri: https://github.com/avmnu-sng/rspec-tracer
|
116
|
-
source_code_uri: https://github.com/avmnu-sng/rspec-tracer/tree/v0.9.
|
116
|
+
source_code_uri: https://github.com/avmnu-sng/rspec-tracer/tree/v0.9.1
|
117
117
|
changelog_uri: https://github.com/avmnu-sng/rspec-tracer/blob/main/CHANGELOG.md
|
118
118
|
bug_tracker_uri: https://github.com/avmnu-sng/rspec-tracer/issues
|
119
119
|
post_install_message:
|