exe/test_diff in test_diff-0.3.2 vs exe/test_diff in test_diff-0.3.3

- old
+ new

@@ -14,15 +14,21 @@ 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' + desc 'run_spec_diff spec', 'runs the specs difference between the branches' def run_spec_diff(spec_folder = 'spec', groups_of = nil, group = '0') + TestDiff::Config.test_runner = TestDiff::TestRunner::Spec.new TestDiff::RunDiff.new(spec_folder, groups_of, group).run end - desc 'build_coverage_diff spec master', 'runs the specs difference between the branches' + desc 'run_rspec_diff spec', 'runs the specs difference between the branches' + def run_rspec_diff(spec_folder = 'spec', groups_of = nil, group = '0') + TestDiff::RunDiff.new(spec_folder, groups_of, group).run + end + + desc 'build_coverage_diff spec', '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