cucumber-pretty_fail_formatter 0.0.2 → 0.0.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 +3 -5
- data/cucumber-pretty_fail_formatter.gemspec +1 -1
- data/lib/cucumber/formatter/pretty_fail.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 252708b6a027e6f94bde01c24057690b77d5e370
|
4
|
+
data.tar.gz: a1741d2af5de07ebd8780302116d87d1c63aeafd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22d919e7be3a8a99058b8f00a35c1d62a751c561f847c5a2237fd876a7624b6aba5214bb45a2e1e317a938553af921b0510b939583aca8094e16b85ebf4029c7
|
7
|
+
data.tar.gz: bc791624e4605fb079a4d22a3149b73173f174668d66cb88b337fa59c13947a4802e2be30b5e8816543f26c745fe0a4cc867c6b58aa5b264df2c20d476cf40f4
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Pretty Fail Formatter
|
2
2
|
|
3
3
|
A cucumber formatter which is concise on success and pretty on failures. It behaves like the standard `progress` formatter, printing only nice green dots.
|
4
|
-
Except when a cuke failes, then it prints
|
4
|
+
Except when a cuke failes, then it prints the failing cuke verbosely, so that you instantly see what's wrong.
|
5
5
|
|
6
6
|
bundle exec cucumber --format pretty-fail
|
7
7
|
.....F
|
@@ -31,7 +31,7 @@ Put it in your `Gemfile`
|
|
31
31
|
|
32
32
|
gem 'cucumber-pretty_fail_formatter'
|
33
33
|
|
34
|
-
|
34
|
+
Run `bundle install`
|
35
35
|
|
36
36
|
If you don't user Bundler you can install it using the `gem` command:
|
37
37
|
|
@@ -48,12 +48,10 @@ If you want to use it as your default formatter, simply put the option in your `
|
|
48
48
|
## Contributing
|
49
49
|
|
50
50
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
51
|
-
* Check out the
|
51
|
+
* Check out the github issues to make sure someone already hasn't requested it and/or contributed it
|
52
52
|
* Fork the project
|
53
53
|
* Start a feature/bugfix branch
|
54
54
|
* Commit and push until you are happy with your contribution
|
55
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
56
|
-
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
57
55
|
|
58
56
|
## Copyright
|
59
57
|
|
@@ -36,6 +36,7 @@ module Cucumber
|
|
36
36
|
|
37
37
|
def after_feature_element(*args)
|
38
38
|
super
|
39
|
+
reset_io
|
39
40
|
progress(:failed) if (defined? @exception_raised) and (@exception_raised)
|
40
41
|
@exception_raised = false
|
41
42
|
end
|
@@ -105,7 +106,6 @@ module Cucumber
|
|
105
106
|
@output.print(@io.string)
|
106
107
|
@output.puts
|
107
108
|
end
|
108
|
-
reset_io
|
109
109
|
@output.flush
|
110
110
|
end
|
111
111
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-pretty_fail_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philipp Tessenow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|