Sha256: 063a744542c17403bb53ee453a824af1ee70fbdefea4266525207c5b68133ca0

Contents?: true

Size: 635 Bytes

Versions: 2

Compression:

Stored size: 635 Bytes

Contents

#!/usr/local/bin/ruby -swI .

require 'ZenTest'

$TESTING = true # for ZenWeb and any other testing infrastructure code

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

if defined? $h then
  puts "usage: #{File.basename $0} [-h -v] test-and-implementation-files..."
  puts "  -h display this information"
  puts "  -v display version information"
  puts "  -r Reverse mapping (ClassTest instead of TestClass)"
  puts "  -e (Rapid XP) eval the code generated instead of printing it"
  exit 0
end

code = ZenTest.fix(*ARGV)
if defined? $e then
  require 'test/unit'
  eval code
else
  print code
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ryanbriones-ZenTest-3.11.1 bin/zentest
ZenTest-3.0.0 bin/ZenTest