$VERBOSE = false

base_dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
lib_dir = File.join(base_dir, 'lib')
test_dir = File.join(base_dir, 'test')

require 'test-unit'
require 'test/unit/notify'
require 'idcf/cli/validate/custom/init'

$LOAD_PATH.unshift(test_dir)
$LOAD_PATH.unshift(lib_dir)

ENV['TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE'] ||= '5000'

exit Test::Unit::AutoRunner.run(true, test_dir)

$VERBOSE = false

base_dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
lib_dir = File.join(base_dir, 'lib')
test_dir = File.join(base_dir, 'test')

require 'test-unit'
require 'test/unit/notify' unless ENV['DISABLE_TEST_NOTIFY']
require 'idcf/cli/validate/custom/init'

$LOAD_PATH.unshift(test_dir)
$LOAD_PATH.unshift(lib_dir)

ENV['TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE'] ||= '5000'

exit Test::Unit::AutoRunner.run(true, test_dir)

Add test option to disable notifications
Add test option to disable notifications
