Sha256: 0bdc152e852bedf2c5e98557af64156687bd4764412344eb9a7e09fb78452ad5
Contents?: true
Size: 906 Bytes
Versions: 7
Compression:
Stored size: 906 Bytes
Contents
#!/usr/bin/env ruby require "optparse" $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') if ARGV.include?("-v") or ARGV.include?("--version") require 'parallel_split_test/version' puts ParallelSplitTest::VERSION; exit elsif ARGV.include?("-h") or ARGV.include?("--help") or ARGV.empty? puts <<-TEXT Split a big test file into multiple chunks and run them in parallel, giving ENV['TEST_ENV_NUMBER'] as '', '2', '3', ... Usage: parallel_split_test test/baz/xxx_text.rb [other rspec options] Options are: -v, --version Display the program version. -h, --help Display this help message. --no-summary Does not display test summary. --no-merge Does not merge --out results. TEXT exit end require 'parallel_split_test/runner' exit ParallelSplitTest::Runner.run(ARGV, $stderr, $stdout)
Version data entries
7 entries across 7 versions & 1 rubygems