allure-cucumber 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/allure-cucumber.rb +1 -1
- data/lib/allure-cucumber/formatter.rb +2 -2
- data/lib/allure-cucumber/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd7ef657ee49740eec46661149335ab7cb38d93d
|
4
|
+
data.tar.gz: 0ddf2bcabccebd24432a25beff74c2939fbe98a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7c772d89cdf7b69559757015f54db2e354d0b059ad8b53e2ce4f15f347a7fe1ff9c0a4fb1ff9f53b029aab70c5f62ce6de79fb5e042bc622fe0dbd80b24e4c6
|
7
|
+
data.tar.gz: 8687e524817210956d584482dfadd84fdd7b52557610296f8049d442fdc401318dc011c55c737a27a21f31397c45a6ed3a7a8c1b5bf62fccb94ba6157605e05a
|
data/README.md
CHANGED
@@ -29,6 +29,14 @@ AllureCucumber.configure do |c|
|
|
29
29
|
end
|
30
30
|
```
|
31
31
|
|
32
|
+
By default, the Allure XML files from earlier runs are deleted at the start of new run. This can be disabled by:
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
AllureCucumber.configure do |c|
|
36
|
+
c.clean_dir = false
|
37
|
+
end
|
38
|
+
```
|
39
|
+
|
32
40
|
## Usage
|
33
41
|
|
34
42
|
Put the following in your `features/support/env.rb` file:
|
data/lib/allure-cucumber.rb
CHANGED
@@ -12,8 +12,8 @@ module AllureCucumber
|
|
12
12
|
POSSIBLE_STATUSES = ['passed', 'failed', 'pending', 'skipped', 'undefined']
|
13
13
|
|
14
14
|
def initialize(step_mother, io, options)
|
15
|
-
dir = Pathname.new(AllureCucumber::Config.output_dir)
|
16
|
-
FileUtils.rm_rf(dir)
|
15
|
+
dir = Pathname.new(AllureCucumber::Config.output_dir)
|
16
|
+
FileUtils.rm_rf(dir) unless AllureCucumber::Config.clean_dir == false
|
17
17
|
FileUtils.mkdir_p(dir)
|
18
18
|
@tracker = AllureCucumber::FeatureTracker.create
|
19
19
|
@deferred_before_test_steps = []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allure-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Imran Khan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -107,5 +107,5 @@ rubyforge_project:
|
|
107
107
|
rubygems_version: 2.4.8
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
|
-
summary: allure-cucumber-0.5.
|
110
|
+
summary: allure-cucumber-0.5.3
|
111
111
|
test_files: []
|