Sha256: 6bb2d35c2b7c2db46a402684375db3f0b2fd599c732225e2829ea1a7ccb63fb1

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

module Byebug
  class PryTestCase < TestCase
    def setup
      @example = -> do
        byebug
        a = 2
        a = 3
        a = 4
      end

      super

      interface.stubs(:kind_of?).with(LocalInterface).returns(true)
    end

    def test_pry_command_starts_a_pry_session
      PryCommand.any_instance.expects(:execute)
      enter 'pry'
      debug_proc(@example)
    end

    def test_autopry_calls_pry_automatically_after_every_stop
      skip 'TODO'
    end
  end
end if defined?(Pry)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
byebug-3.5.1 test/commands/pry_test.rb
byebug-3.5.0 test/commands/pry_test.rb