itriagetestrail 0.9.5 → 0.9.6

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: ab97f6dba005dce7772bd75122cc840e3cc51771
4
- data.tar.gz: 020ef19261dc3c9fdea8f79b3957c0464d647d91
3
+ metadata.gz: 4e05cf4c46eacd3985853d0a54ad7628ac0e1165
4
+ data.tar.gz: 5b6fb805a13ccc3ad3ecd1b075349744792abc05
5
5
  SHA512:
6
- metadata.gz: ec2ffe47c0d56d7fa9a6399f9ec6587474db142ae9380ec07fff4b898ea0eb29425cb48c6607f616a889085c4cbef05fb2b8b7f83647c6fc12172a31536c6f5b
7
- data.tar.gz: e761c547d600901725fe21001ba3c12178e3c9fc0a58d485dc50fc1d62e0a5fafb47b85cecedfec382dfadfd96675f3aeb884cda0d07b28e78417f3121aa2523
6
+ metadata.gz: fbde0ac64dd1f4980ece1acd760ef4ac09c95fac335d9953ccdee0e2f8d0c0c0a402293f6772fbb0b80f48d46b05844340b7c2b044ec914a8c0e629a73da9f22
7
+ data.tar.gz: 3efa1bd9005aa16d8a2947057f985f24654ced4d5142fe6c201561e8a1c73b433c308e07fe88e0920b97a16a258af8d34172b039a66a4a8edb78fd14fdb43828
@@ -6,16 +6,16 @@ module Itriagetestrail
6
6
  return if execute == false
7
7
  begin
8
8
  if scenario.class.to_s == 'Cucumber::RunningTestCase::ScenarioOutlineExample'
9
- scenario_cell_id = []
10
- scenario.name.split('|')[1..50].each {|cell| scenario_cell_id << cell.gsub(/[\| "]/, "") }
11
- @scenario_title = "#{scenario.scenario_outline.name}, Example: #{scenario_cell_id}"
12
- @external_id = "#{scenario.feature.short_name};#{@scenario_title}"[0,249]
9
+ #scenario_cell_id = []
10
+ #scenario.cell_values.each {|cell| scenario_cell_id << cell.gsub(/[\| "]/, "") }
11
+ @scenario_title = "#{scenario.scenario_outline.name}, Example: #{scenario.cell_values}"
12
+ @external_id = "#{scenario.feature.short_name}\;#{@scenario_title}"[0,249]
13
13
  else
14
- @external_id = "#{scenario.feature.short_name};#{scenario.name}"
14
+ @external_id = "#{scenario.feature.short_name}\;#{scenario.name}"
15
15
  @scenario_title = scenario.name
16
16
  end
17
17
 
18
- @scenario_steps = scenario.test_steps.select{'name'}.collect { |name| name.name }.join("\n")
18
+ @scenario_steps = scenario.test_steps.collect {|step| step.text }.join("\n")
19
19
 
20
20
  if scenario.passed?
21
21
  store_result(@scenario_title, @external_id, @scenario_steps, 1, '')
@@ -1,3 +1,3 @@
1
1
  module Itriagetestrail
2
- VERSION = '0.9.5'
2
+ VERSION = '0.9.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itriagetestrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - a801069
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-13 00:00:00.000000000 Z
11
+ date: 2018-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler