Sha256: 38a5d7e80e9d36a54ea439547ae00ac24cbeee1a6660fb90dbbf7eee7240ad8f
Contents?: true
Size: 1018 Bytes
Versions: 4
Compression:
Stored size: 1018 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'thor' require 'test_diff' # thor class to allow execution class TestDiffBuilder < Thor desc 'build_coverage spec', 'runs the specs and generates reverse_coverage' def build_coverage(spec_folder = 'spec', pre_load = nil, continue = nil) TestDiff::BuildCoverage.new(spec_folder, pre_load, continue).run end desc 'track build', 'track this HEAD as the last test diff index' def track_build(sha1 = nil) TestDiff::TrackBuild.new(sha1).run end desc 'run_spec_diff spec master', 'runs the specs difference between the branches' def run_spec_diff(spec_folder = 'spec', groups_of = nil, group = '0') TestDiff::RunDiff.new(spec_folder, groups_of, group).run end desc 'build_coverage_diff spec master', 'runs the specs difference between the branches' def build_coverage_diff(spec_folder = 'spec', pre_load = nil, continue = nil) TestDiff::BuildCoverageDiff.new(spec_folder, pre_load, continue).run end end TestDiffBuilder.start(ARGV)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
test_diff-0.3.2 | exe/test_diff |
test_diff-0.3.1 | exe/test_diff |
test_diff-0.3.0 | exe/test_diff |
test_diff-0.2.0 | exe/test_diff |