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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1df1d0c90323ae123f24629f74f654bce0fff93bba8e8b052388d582dfb64d8f
4
- data.tar.gz: 5caabede1fb71ffcbbd70f0e9bfe8ca355303e843dbb99cacf14f146149afe5a
3
+ metadata.gz: bbe5a34cf76bcf55ded1f0a9c8067d682dc9eaf7b4d4827a9fc153c19afa25a3
4
+ data.tar.gz: d17e0522f2c5cb064029121a3cb8786034664121394eef3f73bdc0b8a181f691
5
5
  SHA512:
6
- metadata.gz: 5ad9ec360d867ed745039fc2cf2a4aef314912a5b6a596c8c79e9d6615b00f2b578f5d3a164c2725ed710d9b0aa055855c607eebe52f7b032d1b959d483cb079
7
- data.tar.gz: 347236ad3e59372ff1cf33aa3c812ae5a22911ff6b46bfdfced44b96ef80161c4da0798a9afecf96846bc44963713bac4aa625c714266431b975c3152ebd92b1
6
+ metadata.gz: ec7251d9c7d450327e870d25c482e1c90bdbb40c38e41202ed1b95b98806691e6d02259c4f61f7ae333451224d0e6662b5994db2cd05c10efd9eda31157562de
7
+ data.tar.gz: e46dd0d565c75a8f8569db87dfec53fe32e2bf3e31bb2a6f31c4a460dd497ce45fc0dde5ede8bd417bd3866a1d594c41a3528713923139e3bbdbfe6d71fd3582
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [0.9.1] - 2021-09-23
2
+
3
+ ### Fixed
4
+
5
+ Flaky and failed examples dependency check (#38)
6
+
1
7
  ## [0.9.0] - 2021-09-15
2
8
 
3
9
  ### Added
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RSpecTracer
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.1'
5
5
  end
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.0
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-15 00:00:00.000000000 Z
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.0
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: