Sha256: 2c08dd5f37f65c51cf195863ce8fa3bf9d57639e9c0a7e0beec4be4632d2ce36

Contents?: true

Size: 615 Bytes

Versions: 3

Compression:

Stored size: 615 Bytes

Contents

#!/usr/bin/env ruby
require 'test/unit'

# begin require 'rubygems' rescue LoadError end
# require 'ruby-debug'; Debugger.start

# Test List commands
class TestList < Test::Unit::TestCase

  @@src_dir = File.join(Dir.pwd, File.dirname(__FILE__))

  require File.join(@@src_dir, 'helper')
  include TestHelper

  # Test commands in list.rb
  def test_basic
    testname='list'
    Dir.chdir(@@src_dir) do 
      script = File.join('data', testname + '.cmd')
      assert_equal(true, 
                   run_debugger(testname, 
                                "--script #{script} -- ./gcd.rb 3 5"))
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
debugger-1.0.0 test/test-list.rb
debugger-1.0.0.rc2 test/test-list.rb
debugger-1.0.0.rc1 test/test-list.rb