Skip to content

Commit

Permalink
test that debugger is able to continue and stop at the next debugger …
Browse files Browse the repository at this point in the history
…line
  • Loading branch information
timcharper committed Sep 25, 2009
1 parent c78bf32 commit 3b3153d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions features/spork_debugger.feature
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ Feature: Spork Debugger integration
describe "Debugger" do
it "should debug" do
@variable = "variable contents"
debugger
2.times do |count|
@message = "count = #{count}"
debugger
@message = nil
end
puts "it worked!"
end
end
Expand All @@ -38,8 +41,13 @@ Feature: Spork Debugger integration

Then the spork window should output a line containing "Debug Session Started"

When I type this in the spork window: "e @variable"
Then the spork window should output a line containing "variable contents"
When I type this in the spork window: "e @message"
Then the spork window should output a line containing "count = 0"

When I type this in the spork window: "continue"

When I type this in the spork window: "e @message"
Then the spork window should output a line containing "count = 1"

When I type this in the spork window: "continue"

Expand Down

0 comments on commit 3b3153d

Please sign in to comment.