Sha256: 2fe88378cbefa13bea94dbae91262440307f0a5bef7f178fcc4653e77076b92c

Contents?: true

Size: 635 Bytes

Versions: 48

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

48 entries across 47 versions & 5 rubygems

Version Path
BanzaiMan-ZenTest-4.2 bin/zentest
grosser-zentest-4.0.1 bin/zentest
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/zentest
vim-jar-0.1.2 bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/zentest
vim-jar-0.1.1 bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/zentest
vim-jar-0.1.0 bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/zentest
vim-jar-0.0.3 bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/zentest
vim-jar-0.0.2 bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/zentest
vim-jar-0.0.1 bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/zentest
ZenTest-4.4.0 bin/zentest
ZenTest-4.3.3 bin/zentest
zentest-without-autotest-4.3.2 bin/zentest
ZenTest-4.3.2 bin/zentest
ZenTest-4.3.1 bin/zentest
ZenTest-4.3.0 bin/zentest
zentest-without-autotest-4.2.1 bin/zentest
zentest-without-autotest-4.1.4 bin/zentest
ZenTest-4.2.1 bin/zentest
ZenTest-4.2.0 bin/zentest
ZenTest-3.1.0 bin/ZenTest