Sha256: 1f820acf82fb83d0a60904b1dc49ff51a874ae373a7b2dc23d323e2fc02470d5
Contents?: true
Size: 595 Bytes
Versions: 3
Compression:
Stored size: 595 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), "..", "..", "lib") require 'test/unit' require 'buildmaster' module BuildMaster class AntTest < Test::Unit::TestCase protected def setup super build_file = File.join(File.dirname(__FILE__), "build.xml") @ant = AntDriver.from_file(build_file) end public def test_run @ant.project_help end def test_pass @ant.target('passing') end def test_dynamic_method @ant.passing end def test_fail assert_raise(RuntimeError) {@ant.target('failing')} end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
BuildMaster-0.7.0 | test/buildmaster/tc_ant_driver.rb |
BuildMaster-0.8.0 | test/buildmaster/tc_ant_driver.rb |
BuildMaster-0.8.1 | test/buildmaster/tc_ant_driver.rb |