itriagetestrail 0.1.8 → 0.1.9

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
  SHA1:
3
- metadata.gz: 3156c49049b436b4997f9c6cf2f08c5be04147e5
4
- data.tar.gz: 7df538c7924867833a5a19716ddb4c526ec44665
3
+ metadata.gz: e3a5aad2cf495b523e8fa901f439212782caa491
4
+ data.tar.gz: f3fda924793287517acba1a02c82fb56dbb3c345
5
5
  SHA512:
6
- metadata.gz: 406a2d1cac660f820e868d916faf0e388b0a21db68a1815f1910caf940f6bac2f5dada9d1ec6382d43a05962acf66bfdcdd951e6689e634f84753adfef1b8a88
7
- data.tar.gz: 6f4ca9491a0c55d5a8b5b3ffc7aeebe088137564bbd37fbcf8ac18a6040b0bd2aad503b9343c431d3850840731851a8b9db9b2adde4609f5aec71e2775de747e
6
+ metadata.gz: 380cc505df1542cc47bd9d0f90f3f461855fc332514c394d3cd87f79555e601c6b1107d77f9eee87833d13cb77afc53d312a917c0d54038ee54c078c10e6f745
7
+ data.tar.gz: 3b89771d51ca401510ba50441cf5de4f0e391fd29e1d3b5d808c8ec6e0f2c40c932b39fc49e6d4ff3e378c4ce0820631748ae81d91f60c41bb0643f30baf82a6
@@ -1,3 +1,3 @@
1
1
  module Itriagetestrail
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
@@ -296,9 +296,18 @@ module Itriagetestrail
296
296
  close_run
297
297
  end
298
298
 
299
+ # this is the hack at very end to exclude tests which frameworks like MiniTest and Cucumber did not touch
300
+ # including all tests at beginning is necessary so that at least some progress can be seen when
301
+ # real time updating is enabled.
302
+ def update_test_run
303
+ send = {include_all: false, case_ids: @test_case_ids}
304
+ @client.send_post("update_run/#{@run_id}", send)
305
+ end
306
+
299
307
  def shutdown
300
308
  @pool.shutdown
301
309
 
310
+ update_test_run
302
311
  @client.send_post("close_run/#{@run_id}", {}) if close_run?
303
312
  end
304
313
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itriagetestrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - a801069