Sha256: 1095e9cb06f102e1ee3c9038f7c9e1782341276bcde5fd52eebdf7d5db7b97a8

Contents?: true

Size: 777 Bytes

Versions: 77

Compression:

Stored size: 777 Bytes

Contents

#!/usr/bin/env ruby -ws
#
# unit_diff - a ruby unit test filter by Ryan Davis <ryand-ruby@zenspider.com>
#
# usage:
#
#  test.rb | unit_diff [options]
#    options:
#    -b ignore whitespace differences
#    -c contextual diff
#    -h show usage
#    -k keep temp diff files around
#    -u unified diff [default]
#    -p plain diff
#    -v display version

require 'unit_diff'
require 'zentest'

############################################################

if defined? $v then
  puts "#{File.basename $0} v. #{ZenTest::VERSION}"
  exit 0
end

if defined? $h then
  File.open(__FILE__) do |f|
    begin; end until f.readline =~ /usage:/
    f.readline
    while line = f.readline and line.sub!(/^# ?/, '')
      $stderr.puts line
    end
  end
  exit 0
end

UnitDiff.unit_diff

Version data entries

77 entries across 77 versions & 8 rubygems

Version Path
cloudsmith-api-2.0.15 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.2/bin/unit_diff
cloudsmith-api-2.0.14 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.2/bin/unit_diff
ZenTest-4.12.2 bin/unit_diff
cloudsmith-api-2.0.13 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.12 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.11 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.10 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.9 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.8 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.7 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.6 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.5 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.4 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.3 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.2 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.1 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-2.0.0 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-1.142.3 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-1.120.3 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff
cloudsmith-api-1.61.3 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/bin/unit_diff