itriagetestrail 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/itriagetestrail/version.rb +1 -1
- data/lib/itriagetestrail.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3a5aad2cf495b523e8fa901f439212782caa491
|
|
4
|
+
data.tar.gz: f3fda924793287517acba1a02c82fb56dbb3c345
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 380cc505df1542cc47bd9d0f90f3f461855fc332514c394d3cd87f79555e601c6b1107d77f9eee87833d13cb77afc53d312a917c0d54038ee54c078c10e6f745
|
|
7
|
+
data.tar.gz: 3b89771d51ca401510ba50441cf5de4f0e391fd29e1d3b5d808c8ec6e0f2c40c932b39fc49e6d4ff3e378c4ce0820631748ae81d91f60c41bb0643f30baf82a6
|
data/lib/itriagetestrail.rb
CHANGED
|
@@ -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
|