flatware-cucumber 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -3
- data/lib/flatware/cucumber/formatters/console/summary.rb +0 -1
- metadata +5 -6
- data/lib/flatware/cucumber/checkpoint.rb +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abd4dfd22b8f0236bdad9be40a5984cd74303a61
|
4
|
+
data.tar.gz: 3a10a731fb626989de5f3c02052c7d4fc6b04a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4575384e18651e6d27d7c71fd7acde3634020536fe722f63777e959c8cc18060d2df5b5cece58ccf7d0fd034d7c0a90be867267a77ff55c3b8288795c7c4d00a
|
7
|
+
data.tar.gz: 69ce306cde64d8944fc89e9e1622c8433e785b029b85de1246d09dccb83e376668bbcb481a697bc832508207ae163ed675e8b20fdf7714165569a57500caf518
|
data/README.md
CHANGED
@@ -25,11 +25,18 @@ sudo apt-get install -qq libzmq3-dev
|
|
25
25
|
|
26
26
|
#### Mac OSX
|
27
27
|
|
28
|
-
|
28
|
+
|
29
|
+
If you're on macOS 10.12, use the custom hashrocket ZMQ homebrew formula.
|
29
30
|
|
30
31
|
```sh
|
31
32
|
brew tap hashrocket/formulas
|
32
33
|
brew install hashrocket/formulas/zeromq
|
34
|
+
```
|
35
|
+
|
36
|
+
The stock homebrew version will likely work on older versions of macOS.
|
37
|
+
|
38
|
+
|
39
|
+
```sh
|
33
40
|
brew install zeromq
|
34
41
|
```
|
35
42
|
|
@@ -38,8 +45,8 @@ brew install zeromq
|
|
38
45
|
Add the runners you need to your Gemfile:
|
39
46
|
|
40
47
|
```ruby
|
41
|
-
gem 'flatware-rspec' # one
|
42
|
-
gem 'flatware-cucumber' # or both
|
48
|
+
gem 'flatware-rspec', require: false # one
|
49
|
+
gem 'flatware-cucumber', require: false # or both
|
43
50
|
```
|
44
51
|
|
45
52
|
then run
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flatware-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Dunn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flatware
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.4.
|
19
|
+
version: 0.4.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.4.
|
26
|
+
version: 0.4.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: cucumber
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,6 @@ files:
|
|
49
49
|
- LICENSE.txt
|
50
50
|
- README.md
|
51
51
|
- lib/flatware-cucumber.rb
|
52
|
-
- lib/flatware/cucumber/checkpoint.rb
|
53
52
|
- lib/flatware/cucumber/cli.rb
|
54
53
|
- lib/flatware/cucumber/formatter.rb
|
55
54
|
- lib/flatware/cucumber/formatters/console.rb
|
@@ -78,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
77
|
version: '0'
|
79
78
|
requirements: []
|
80
79
|
rubyforge_project:
|
81
|
-
rubygems_version: 2.6.
|
80
|
+
rubygems_version: 2.6.14
|
82
81
|
signing_key:
|
83
82
|
specification_version: 4
|
84
83
|
summary: A distributed cucumber runner
|
@@ -1,28 +0,0 @@
|
|
1
|
-
module Flatware
|
2
|
-
module Cucumber
|
3
|
-
class Checkpoint
|
4
|
-
attr_reader :steps, :scenarios
|
5
|
-
def initialize(steps, scenarios)
|
6
|
-
@steps, @scenarios = serialize_steps(steps), serialize_scenarios(scenarios)
|
7
|
-
end
|
8
|
-
|
9
|
-
def failures?
|
10
|
-
scenarios.any? &:failed?
|
11
|
-
end
|
12
|
-
|
13
|
-
private
|
14
|
-
|
15
|
-
def serialize_steps(steps)
|
16
|
-
steps.map do |step|
|
17
|
-
StepResult.new step.status, step.exception
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
def serialize_scenarios(scenarios)
|
22
|
-
scenarios.map do |scenario|
|
23
|
-
ScenarioResult.new scenario.status, scenario.file_colon_line, scenario.name, scenario.exception
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|