diff options
author | Ryan Davis <ryand@zenspider.com> | 2014-03-24 15:02:03 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2014-03-24 15:02:03 -0800 |
commit | add12283a835a879353ce0dc8f326f98b2b08434 (patch) | |
tree | 6f83ebdcd58979ae95329756d42be3580ed4a93a | |
parent | d8b8089a96442bedb5b4b0e4e13785efe0f6423d (diff) | |
download | hoe-add12283a835a879353ce0dc8f326f98b2b08434.tar.gz |
+ Added test:slow task so I don't have to remember sort's flags anymore.
[git-p4: depot-paths = "//src/hoe/dev/": change = 9297]
-rw-r--r-- | lib/hoe/test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/hoe/test.rb b/lib/hoe/test.rb index 05bda25..72d6066 100644 --- a/lib/hoe/test.rb +++ b/lib/hoe/test.rb @@ -108,6 +108,13 @@ module Hoe::Test end end + if testlib == :minitest then + desc "Show bottom 25 tests wrt time." + task "test:slow" do + sh "rake TESTOPTS=-v | sort -n -k2 -t= | tail -25" + end + end + default_tasks << :test end |