Sha256: 3c05dd50dbbef928d9810a6b160361c192dcb4f917fb44ba584afd8a05af11b4
Contents?: true
Size: 647 Bytes
Versions: 2
Compression:
Stored size: 647 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'test_helper')) module JsTestDriver class RunTestsTest < Test::Unit::TestCase def test_should_run_all_tests_by_default application.run_tests assert_run("java -jar #{runtime_config.jar_path} --serverHandlerPrefix jstd --config #{runtime_config.config_yml_path} --tests all") end def test_should_run_selected_tests application.run_tests(:tests => 'MyTestCase.some_test') assert_run("java -jar #{runtime_config.jar_path} --serverHandlerPrefix jstd --config #{runtime_config.config_yml_path} --tests MyTestCase.some_test") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
js-test-driver-rails-0.5.0.pre2 | test/unit/run_tests_test.rb |
js-test-driver-rails-0.5.0.pre1 | test/unit/run_tests_test.rb |