Sha256: 2c4ef0c9881203f7bbd8362c103be409e2d4fd7f505a0390286aed9a0aa40010

Contents?: true

Size: 729 Bytes

Versions: 4

Compression:

Stored size: 729 Bytes

Contents

require_relative 'test_helper'

# XXX: No post morten mode for now
#
#describe "Post Mortem" do
#  include TestDsl
#
#  it "must enter into port mortem mode" do
#    enter 'cont'
#    debug_file("post_mortem") { Byebug.post_mortem?.must_equal true }
#  end
#
#  it "must stop at the correct line" do
#    enter 'cont'
#    debug_file("post_mortem") { state.line.must_equal 8 }
#  end
#
#  it "must exit from post mortem mode after stepping command" do
#    enter 'cont', 'break 12', 'cont'
#    debug_file("post_mortem") { Byebug.post_mortem?.must_equal false }
#  end
#
#  it "must save the raised exception" do
#    enter 'cont'
#    debug_file("post_mortem") { Byebug.last_exception.must_be_kind_of RuntimeError }
#  end
#end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
byebug-1.0.2 test/post_mortem_test.rb
byebug-1.0.1 test/post_mortem_test.rb
byebug-1.0.0 test/post_mortem_test.rb
byebug-0.0.1 test/post_mortem_test.rb