guillaumegentil-rspactor 0.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cucumber_growler.rb +2 -2
- data/lib/rspactor/inspector.rb +1 -1
- data/lib/rspactor/runner.rb +2 -0
- metadata +1 -1
data/lib/cucumber_growler.rb
CHANGED
@@ -15,12 +15,12 @@ module CucumberGrowler
|
|
15
15
|
[:failed, :skipped, :undefined, :pending, :passed].reverse.each do |status|
|
16
16
|
if step_mother.steps(status).any?
|
17
17
|
icon = icon_for(status)
|
18
|
-
title = title_for(status)
|
18
|
+
# title = title_for(status)
|
19
19
|
messages << dump_count(step_mother.steps(status).length, "step", status.to_s)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
notify "Cucumber Results", messages.reverse.join(
|
23
|
+
notify "Cucumber Results", messages.reverse.join(", "), icon
|
24
24
|
original_print_stats(features)
|
25
25
|
end
|
26
26
|
end
|
data/lib/rspactor/inspector.rb
CHANGED
@@ -2,7 +2,7 @@ module RSpactor
|
|
2
2
|
# Maps the changed filenames to list of specs to run in the next go.
|
3
3
|
# Assumes Rails-like directory structure
|
4
4
|
class Inspector
|
5
|
-
EXTENSIONS = %w(rb erb builder haml rhtml rxml yml conf opts)
|
5
|
+
EXTENSIONS = %w(rb erb builder haml rhtml rxml yml conf opts feature)
|
6
6
|
|
7
7
|
def initialize(dir)
|
8
8
|
@root = dir
|
data/lib/rspactor/runner.rb
CHANGED
@@ -65,6 +65,8 @@ module RSpactor
|
|
65
65
|
def run_cucumber_command
|
66
66
|
cmd = [ruby_opts, cucumber_runner, cucumber_opts].flatten.join(' ')
|
67
67
|
@last_run_failed = run_command(cmd)
|
68
|
+
# Workaround for killing jruby process when used with celerity, cucumber and spork
|
69
|
+
# if you know how doing that better, please tell me: guillaumegentil@gmail.com
|
68
70
|
system('killall java') if options[:kill]
|
69
71
|
end
|
70
72
|
|