ci-queue 0.20.3 → 0.20.4

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: 2b0f70673064409db5c248591e848c34ab9b7c0589e32c5b58afd9fa8158c3db
4
- data.tar.gz: 8ce4e145bf3f1f8aeefbc65b3285b9ef4afe8c5a9c8e85cc0f76f7e6dc2328d9
3
+ metadata.gz: 4c7ce73cd1dd2d350b7e9b5293f92380d0bdb61a21aea1924e587fe897a31755
4
+ data.tar.gz: 70fb38ffa65e591ee0f86b3990dbc07bf587776f9e6d05937209efb50565b467
5
5
  SHA512:
6
- metadata.gz: 311781ec8d1deceea04cbf06158a75f3709691b650a871a840d01b8da6b8eed6eb2b81eb3c4730a74d9b5379ed920f857d85b2a60670eeb88180130fe742143c
7
- data.tar.gz: 1cae08e57207513dec893fd1d0e80426270a2119b93460c58f10a5946aad202480b1736f2d7e13637db30fb004a58624368676cb040f79c8df5f5d49001ae180
6
+ metadata.gz: b3affe2bb8f9d7f1b4b25acd42257e671c981ee212f5c792c69af917cfdc4394de0d0e83c5b94b155d71ef60004c66a01115a3aaf2b19f872dbe81b63cdc7191
7
+ data.tar.gz: b8493fa643cb3405a42879b320a8714d192c7dfed6be62efd39220ee9d951c10a074ee4a69204784eb9119faa523c50f17788cb286032baf447cca3bbb636e84
data/README.md CHANGED
@@ -51,7 +51,9 @@ The runner also comes with a tool to investigate leaky tests:
51
51
  minitest-queue --queue path/to/test_order.log --failing-test 'SomeTest#test_something' bisect -Itest test/**/*_test.rb
52
52
  ```
53
53
 
54
- ### RSpec
54
+ ### RSpec [DEPRECATED]
55
+
56
+ The rspec-queue runner is deprecated. The minitest-queue runner continues to be supported and is actively being improved. At Shopify, we strongly recommend that new projects set up their test suite using Minitest rather than RSpec.
55
57
 
56
58
  Assuming you use one of the supported CI providers, the command can be as simple as:
57
59
 
@@ -67,4 +69,4 @@ rspec-queue --queue redis://example.com --timeout 600 --report
67
69
 
68
70
  #### Limitations
69
71
 
70
- Because of how `ci-queue` execute the examples, `before(:all)` and `after(:all)` hooks are not supported. `rspec-queue` will explicitly reject them.
72
+ Because of how `ci-queue` executes the examples, `before(:all)` and `after(:all)` hooks are not supported. `rspec-queue` will explicitly reject them.
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CI
4
4
  module Queue
5
- VERSION = '0.20.3'
5
+ VERSION = '0.20.4'
6
6
  DEV_SCRIPTS_ROOT = ::File.expand_path('../../../../../redis', __FILE__)
7
7
  RELEASE_SCRIPTS_ROOT = ::File.expand_path('../redis', __FILE__)
8
8
  end
@@ -58,6 +58,10 @@ module Minitest
58
58
  @data[:test_and_module_name]
59
59
  end
60
60
 
61
+ def test_suite
62
+ @data[:test_suite]
63
+ end
64
+
61
65
  def test_file
62
66
  @data[:test_file]
63
67
  end
@@ -27,6 +27,7 @@ module Minitest
27
27
  test_line: test_line,
28
28
  test_and_module_name: "#{test.klass}##{test.name}",
29
29
  test_name: test.name,
30
+ test_suite: test.klass,
30
31
  error_class: test.failure.exception.class.name,
31
32
  output: to_s,
32
33
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci-queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.3
4
+ version: 0.20.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-20 00:00:00.000000000 Z
11
+ date: 2020-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler