diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-05-17 16:33:56 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-05-17 16:34:06 +0900 |
commit | 968d6df49f5f59eb2898d27399ad6d49b723216d (patch) | |
tree | 45ac36c433a0ff02c1c3e16ef49b5aec65208b00 /tool/lib/test | |
parent | 2c3c6c96cfc31eb387c643990375e6e1d67b409d (diff) |
Added --test-order=nosort option
Run tests in the order given in the command line.
Diffstat (limited to 'tool/lib/test')
-rw-r--r-- | tool/lib/test/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb index a2ee464ff1..0cba377db2 100644 --- a/tool/lib/test/unit.rb +++ b/tool/lib/test/unit.rb @@ -102,7 +102,7 @@ module Test (options[:filter] ||= []) << a end - opts.on '--test-order=random|alpha|sorted', [:random, :alpha, :sorted] do |a| + opts.on '--test-order=random|alpha|sorted|nosort', [:random, :alpha, :sorted, :nosort] do |a| MiniTest::Unit::TestCase.test_order = a end end |