ZenTest 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,28 +0,0 @@
1
- #!/usr/local/bin/ruby -swI .
2
-
3
- require 'zentest'
4
-
5
- $TESTING = true # for ZenWeb and any other testing infrastructure code
6
-
7
- if defined? $v then
8
- puts "#{File.basename $0} v#{ZenTest::VERSION}"
9
- exit 0
10
- end
11
-
12
- if defined? $h then
13
- puts "usage: #{File.basename $0} [-h -v] test-and-implementation-files..."
14
- puts " -h display this information"
15
- puts " -v display version information"
16
- puts " -r Reverse mapping (ClassTest instead of TestClass)"
17
- puts " -e (Rapid XP) eval the code generated instead of printing it"
18
- exit 0
19
- end
20
-
21
- code = ZenTest.fix(*ARGV)
22
- if defined? $e then
23
- require 'test/unit'
24
- eval code
25
- else
26
- print code
27
- end
28
-