Sha256: e889c0aa6fc88ae09fff96d7246dd1b62c863a9c6f42bbbb7ed2e21d1c56af1d
Contents?: true
Size: 601 Bytes
Versions: 5
Compression:
Stored size: 601 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 "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
5 entries across 5 versions & 1 rubygems