ZenTest 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,6 +35,8 @@ class LowlyOne < SuperDuper # ZenTest SKIP
35
35
  def self.cls_extended; end
36
36
  def overridden; end
37
37
  def extended; end
38
+ def pretty_print; end
39
+ def pretty_print_cycle; end
38
40
  end
39
41
 
40
42
  # This is the good case where there are no missing methods on either side.
@@ -502,8 +504,8 @@ end
502
504
  assert_equal("test_spaceship", @tester.normal_to_test("<=>"))
503
505
  assert_equal("test_times", @tester.normal_to_test("*"))
504
506
  assert_equal("test_times2", @tester.normal_to_test("**"))
505
- assert_equal("test_unary_minus", @tester.normal_to_test("@-"))
506
- assert_equal("test_unary_plus", @tester.normal_to_test("@+"))
507
+ assert_equal("test_unary_minus", @tester.normal_to_test("-@"))
508
+ assert_equal("test_unary_plus", @tester.normal_to_test("+@"))
507
509
  assert_equal("test_class_index", @tester.normal_to_test("self.[]"))
508
510
  end
509
511
 
@@ -575,8 +577,8 @@ end
575
577
  assert_equal("<=>", @tester.test_to_normal("test_spaceship"))
576
578
  assert_equal("*", @tester.test_to_normal("test_times"))
577
579
  assert_equal("**", @tester.test_to_normal("test_times2"))
578
- assert_equal("@-", @tester.test_to_normal("test_unary_minus"))
579
- assert_equal("@+", @tester.test_to_normal("test_unary_plus"))
580
+ assert_equal("-@", @tester.test_to_normal("test_unary_minus"))
581
+ assert_equal("+@", @tester.test_to_normal("test_unary_plus"))
580
582
  end
581
583
 
582
584
  def test_klasses_equals
metadata CHANGED
@@ -3,13 +3,9 @@ rubygems_version: 0.8.11.6
3
3
  specification_version: 1
4
4
  name: ZenTest
5
5
  version: !ruby/object:Gem::Version
6
- version: 3.0.0
7
- date: 2006-03-06 00:00:00 -08:00
8
- summary: |-
9
- * Scans your ruby code and tests and generates missing methods for you.
10
- * Includes a very helpful filter for Test::Unit output called unit_diff.
11
- * Continually and intelligently test only those files you change with autotest.
12
- * Includes a LinuxJournal article on testing with ZenTest written by Pat Eyler.
6
+ version: 3.1.0
7
+ date: 2006-03-29 00:00:00 -08:00
8
+ summary: == FEATURES/PROBLEMS
13
9
  require_paths:
14
10
  - lib
15
11
  email: ryand-ruby@zenspider.com
@@ -29,6 +25,9 @@ description: |-
29
25
  development. As soon as you save a file, autotest will run the
30
26
  corresponding dependent tests.
31
27
 
28
+ multiruby runs anything you want on multiple versions of ruby. Great
29
+ for compatibility checking!
30
+
32
31
  There are two strategies intended for ZenTest: test conformance
33
32
  auditing and rapid XP.
34
33
 
@@ -36,10 +35,6 @@ description: |-
36
35
  that have slipped through the testing process. I've run it against my
37
36
  own software and found I missed a lot in a well tested
38
37
  package. Writing those tests found 4 bugs I had no idea existed.
39
-
40
- ZenTest can also be used to evaluate generated code and execute your
41
- tests, allowing for very rapid development of both tests and
42
- implementation.
43
38
  autorequire:
44
39
  default_executable:
45
40
  bindir: bin
@@ -63,23 +58,36 @@ files:
63
58
  - Manifest.txt
64
59
  - README.txt
65
60
  - Rakefile
66
- - bin/ZenTest
67
61
  - bin/autotest
62
+ - bin/multiruby
68
63
  - bin/unit_diff
64
+ - bin/zentest
69
65
  - example.txt
70
66
  - example1.rb
71
67
  - example2.rb
72
- - lib/ZenTest.rb
73
68
  - lib/autotest.rb
74
69
  - lib/rails_autotest.rb
75
70
  - lib/unit_diff.rb
71
+ - lib/zentest.rb
72
+ - test/data/normal/lib/.#photo.rb
73
+ - test/data/normal/lib/blah.rb
76
74
  - test/data/normal/lib/photo.rb
77
75
  - test/data/normal/test/test_camelcase.rb
78
76
  - test/data/normal/test/test_photo.rb
79
77
  - test/data/normal/test/test_route.rb
80
78
  - test/data/normal/test/test_user.rb
79
+ - test/data/rails/app/controllers/admin/theme_controller.rb
80
+ - test/data/rails/app/controllers/route_controller.rb
81
+ - test/data/rails/app/models/flickr_photo.rb
82
+ - test/data/rails/app/models/route.rb
83
+ - test/data/rails/config/environment.rb
84
+ - test/data/rails/config/routes.rb
81
85
  - test/data/rails/test/fixtures/routes.yml
86
+ - test/data/rails/test/functional/admin/themes_controller_test.rb
87
+ - test/data/rails/test/functional/dummy_controller_test.rb
82
88
  - test/data/rails/test/functional/route_controller_test.rb
89
+ - test/data/rails/test/unit/flickr_photo_test.rb
90
+ - test/data/rails/test/unit/photo_test.rb
83
91
  - test/data/rails/test/unit/route_test.rb
84
92
  - test/test_autotest.rb
85
93
  - test/test_rails_autotest.rb
@@ -95,6 +103,7 @@ executables:
95
103
  - ZenTest
96
104
  - unit_diff
97
105
  - autotest
106
+ - multiruby
98
107
  extensions: []
99
108
 
100
109
  requirements: []