lib/assert/assert_runner.rb in assert-2.15.1 vs lib/assert/assert_runner.rb in assert-2.15.2
- old
+ new
@@ -8,11 +8,11 @@
attr_reader :config
def initialize(config, test_paths, test_options)
@config = config
- Assert::CLI.bench('Apply settings') do
+ Assert::CLI.bench('Applying settings') do
apply_user_settings
apply_local_settings
apply_env_settings
apply_option_settings(test_options)
end
@@ -23,11 +23,11 @@
end
def init(test_files, test_dir)
# load any test helper file
if test_dir && (h = File.join(test_dir, self.config.test_helper)) && File.exists?(h)
- Assert::CLI.bench('Require test helper'){ require h }
+ Assert::CLI.bench('Requiring test helper'){ require h }
end
if self.config.list
$stdout.puts test_files
halt
@@ -36,10 +36,10 @@
# load the test files
runner, suite, view = self.config.runner, self.config.suite, self.config.view
runner.before_load(test_files)
suite.before_load(test_files)
view.before_load(test_files)
- Assert::CLI.bench("Require #{test_files.size} test files") do
+ Assert::CLI.bench("Requiring #{test_files.size} test files") do
test_files.each{ |p| require p }
end
if self.config.debug
puts Assert::CLI.debug_msg("Test files:")
test_files.each{ |f| puts Assert::CLI.debug_msg(" #{f}") }