Skip to content

Commit 32672ab

Browse files
committed
Add vim messages to cucumber test failure errors
1 parent 7723c2d commit 32672ab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
When "I step over" do
22
vdebug.step_over
3-
vdebug.running?.should be(true), 'Vdebug is not running'
3+
vdebug.running?.should be(true), "Vdebug is not running: #{vdebug.messages}"
44
end
55

66
When "I step in" do
77
vdebug.step_in
8-
vdebug.running?.should be(true), 'Vdebug is not running'
8+
vdebug.running?.should be(true), "Vdebug is not running: #{vdebug.messages}"
99
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
When "I evaluate $expression" do |expr|
22
vdebug.evaluate expr
3-
vdebug.running?.should be(true), 'Vdebug is not running'
3+
vdebug.running?.should be(true), "Vdebug is not running: #{vdebug.messages}"
44
end

features/step_definitions/php_steps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
vdebug.start_listening
33
full_script_path = Dir.getwd + "/" + script
44
run_php_script full_script_path
5-
vdebug.running?.should be(true), 'Vdebug is not running'
5+
vdebug.running?.should be(true), "Vdebug is not running: #{vdebug.messages}"
66
end

0 commit comments

Comments
 (0)