Fetching contributors…
Cannot retrieve contributors at this time
33 lines (27 sloc) 785 Bytes
#!/usr/bin/env ruby
require 'ae'
require 'lemon'
require 'fileutils'
#$:.unshift 'lib/core'
#$:.unshift 'lib/standard'
# A few File methods utilize this location for testing.
# Ultimately a more robust solution is needed b/c currently
# there is no guarentee that tests are always run from project
# root dir. Perhaps we can do a Dir.chdir to ensure it?
tmp = File.join(File.dirname(__FILE__), 'tmp')
FileUtils.mkdir(tmp) unless
# Default test run. do |r|
r.files << 'test'
# Generate SimpleCov coverage report. :cov do |r|
r.files << 'test'
require 'simplecov'
SimpleCov.start do
coverage_dir 'log/coverage'
add_filter "/test/"
add_group "Core", "lib/core"
add_group "Standard", "lib/standard"