Sha256: e322bd92d78b612e6b8cc12d492132430e378efcdc8d8bb09a82bb60d44ad9a7
Contents?: true
Size: 595 Bytes
Versions: 11
Compression:
Stored size: 595 Bytes
Contents
#!/usr/bin/env ruby require 'test/unit' # require 'ruby-debug'; Debugger.start # Test info commands class TestInfo < Test::Unit::TestCase @@SRC_DIR = File.join(Dir.pwd, File.dirname(__FILE__)) unless defined?(@@SRC_DIR) require File.join(@@SRC_DIR, 'helper') include TestHelper # Test commands in info.rb def test_basic testname='info' 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
11 entries across 11 versions & 1 rubygems