Add minitest/profile to profile 10 slowest tests

This commit is contained in:
Parker Moore 2015-03-01 00:36:40 -08:00
parent fbe52bca85
commit f1edf9e692
3 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,7 @@ gem 'jekyll_test_plugin_malicious'
gem 'liquid-c', '~> 0.0.3'
gem 'minitest'
gem 'minitest-reporters'
gem 'minitest-profile'
gem 'test-unit' if RUBY_PLATFORM =~ /cygwin/ || RUBY_VERSION.start_with?("2.2")
if ENV['BENCHMARK']

View File

@ -20,4 +20,4 @@ fi
set -x
time bundle exec ruby -Ilib -Itest -rloader $TEST_FILES
time bundle exec ruby -Ilib -Itest -rloader $TEST_FILES --profile

View File

@ -10,6 +10,7 @@ require 'rubygems'
require 'ostruct'
require 'minitest/autorun'
require 'minitest/reporters'
require 'minitest/profile'
require 'jekyll'