Sha256: ba2406843894d43940035d6fcdb512ba47583ed29e7e55186ad2419b51a71203
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") describe TestRunner do it "should run all tests" do TestRunner.should_receive(:system).with("mvn test") TestRunner.run_all_tests end it "should run single test" do test_class = "ImplTest.java" TestRunner.should_receive(:system).with("mvn -Dtest=#{test_class} test") TestRunner.run_test(test_class) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
java-autotest-0.0.1 | spec/java_autotest/test_runner_spec.rb |