Sha256: 3f27c03e05e4b890bd31cd1618873bc135268f32e02d557bfab34936bdedcfcd
Contents?: true
Size: 448 Bytes
Versions: 3
Compression:
Stored size: 448 Bytes
Contents
# run flay on your cucumber steps after a successful run. prevent bloat and # promote reusability! flay_exception = nil flay_level ||= 30 # set me to a minimum sane level. don't go nuts refactoring! # code should be cleaner when you're done, not become spaghetti. After do |s| flay_exception ||= s.exception end at_exit do if flay_level system %{flay -m #{flay_level} features/step_definitions/**/*.rb} if !flay_exception end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cuke-pack-0.0.3 | lib/cuke-pack/support/flay.rb |
cuke-pack-0.0.2 | lib/cuke-pack/support/flay.rb |
cuke-pack-0.0.1 | lib/cuke-pack/support/flay.rb |