Sha256: 655ab7ff188cf5cf4cee0356d08343ab46f5646db5dd3343bd410ad8a10a91d5
Contents?: true
Size: 684 Bytes
Versions: 3
Compression:
Stored size: 684 Bytes
Contents
require 'rubygems' require 'test/unit' require 'dust' require 'strscan' unit_tests do test "test:units" do assert_successful "rake test:units" end test "deep_test" do assert_successful "rake deep_test" end test "distributed_test" do assert_successful "rake distributed_test" end test "spec" do assert_successful "rake spec" end test "deep_spec" do assert_successful "rake deep_spec" end def assert_successful(command) Dir.chdir(File.dirname(__FILE__)) do |path| output = `#{command} 2>&1` output.gsub!(/^/," | ") flunk "'#{command}' failed with following output:\n#{output}" unless $?.success? end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jstorimer-deep-test-2.0.0 | sample_rails_project/deep_test.rb |
jstorimer-deep-test-0.2.0 | sample_rails_project/deep_test.rb |
jstorimer-deep-test-0.1.0 | sample_rails_project/deep_test.rb |