cucumber_spinner 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +30 -9
- data/VERSION +1 -2
- data/cucumber_spinner.gemspec +2 -2
- data/lib/cucumber_spinner/progress_bar_formatter.rb +3 -3
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -6,35 +6,56 @@ once, not at the end of your feature run.
|
|
6
6
|
|
7
7
|
== Installation
|
8
8
|
|
9
|
-
|
9
|
+
If you are using Bundler, add the gem to your +Gemfile+:
|
10
10
|
|
11
|
-
|
11
|
+
group :cucumber do
|
12
|
+
gem 'cucumber_spinner'
|
13
|
+
end
|
14
|
+
|
15
|
+
Now run
|
16
|
+
|
17
|
+
bundle install
|
18
|
+
|
19
|
+
If you are not on Bundler you can download the gem manually:
|
20
|
+
|
21
|
+
sudo gem install cucumber_spinner
|
12
22
|
|
13
23
|
To use the CucumberSpinner formatter, call cucumber with the following command
|
14
24
|
line option:
|
15
25
|
|
16
|
-
|
26
|
+
cucumber --format CucumberSpinner::ProgressBarFormatter
|
17
27
|
|
18
28
|
You might want to use an alias, so for example put this at the end of your
|
19
29
|
.bashrc
|
20
|
-
|
30
|
+
alias cuc='script/cucumber --format CucumberSpinner::ProgressBarFormatter'
|
21
31
|
and then start your features with
|
22
|
-
|
32
|
+
cuc features
|
23
33
|
|
24
34
|
Alternatively, you can require 'cucumber_spinner' in your cucumber environment,
|
25
35
|
and modify your config/cucumber.yml.
|
26
36
|
|
27
37
|
|
28
|
-
|
38
|
+
== Always show the error page in the browser
|
39
|
+
|
40
|
+
CucumberSpinner comes with another formatter that works like above, but in addition opens
|
41
|
+
the page in your browser whenever there is an error. The effect is the same if you
|
42
|
+
write a `Then show me the page` right before the failing scenario step, but it happens automagically.
|
43
|
+
|
44
|
+
To use this formatter, call cucumber like this:
|
45
|
+
|
46
|
+
cucumber --format CucumberSpinner::CuriousProgressBarFormatter
|
47
|
+
|
48
|
+
|
49
|
+
== Caveats
|
29
50
|
|
30
|
-
This has only been tested on cucumber 0.8.3 and ruby 1.8.7. Since
|
51
|
+
This has only been tested on cucumber 0.8.3 to 0.9.4 and ruby 1.8.7. Since Cucumber does
|
31
52
|
not expose every information we need (like the total number of steps) cleanly,
|
32
|
-
this might easily break for other
|
53
|
+
this might easily break for other Cucumber versions.
|
33
54
|
|
34
55
|
There are currently no tests either.
|
35
56
|
|
36
57
|
|
37
|
-
|
58
|
+
== Credits
|
38
59
|
|
39
60
|
Licensed under the MIT License.
|
40
61
|
|
data/VERSION
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
0.2.
|
2
|
-
|
1
|
+
0.2.1
|
data/cucumber_spinner.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cucumber_spinner}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Tobias Kraze"]
|
12
|
-
s.date = %q{2011-01
|
12
|
+
s.date = %q{2011-02-01}
|
13
13
|
s.description = %q{Formatter for cucumber like the RSpecSpinner for RSpec. Shows a progress bar on the command line, prints failing scenarios immediately and can automatically show a browser dump of the error page.}
|
14
14
|
s.email = %q{tobias.kraze@makandra.de}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber_spinner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tobias Kraze
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01
|
18
|
+
date: 2011-02-01 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|