SlimTest 4.6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +21 -0
- data/.gemtest +0 -0
- data/History.txt +795 -0
- data/Manifest.txt +38 -0
- data/README.txt +107 -0
- data/Rakefile +52 -0
- data/articles/Article.css +721 -0
- data/articles/getting_started_with_autotest.html +533 -0
- data/articles/how_to_use_zentest.txt +393 -0
- data/bin/slim-autotest +6 -0
- data/bin/slim-multigem +4 -0
- data/bin/slim-multiruby +76 -0
- data/bin/slim-multiruby_setup +74 -0
- data/bin/slim-unit_diff +38 -0
- data/bin/slim-zentest +23 -0
- data/example.txt +42 -0
- data/example1.rb +7 -0
- data/example2.rb +15 -0
- data/example_dot_autotest.rb +16 -0
- data/lib/autotest.rb +852 -0
- data/lib/autotest/autoupdate.rb +26 -0
- data/lib/autotest/bundler.rb +10 -0
- data/lib/autotest/isolate.rb +19 -0
- data/lib/autotest/once.rb +9 -0
- data/lib/autotest/preload.rb +56 -0
- data/lib/autotest/rcov.rb +27 -0
- data/lib/autotest/restart.rb +14 -0
- data/lib/autotest/timestamp.rb +9 -0
- data/lib/focus.rb +25 -0
- data/lib/functional_test_matrix.rb +92 -0
- data/lib/multiruby.rb +412 -0
- data/lib/unit_diff.rb +274 -0
- data/lib/zentest.rb +594 -0
- data/lib/zentest_mapping.rb +117 -0
- data/test/test_autotest.rb +527 -0
- data/test/test_focus.rb +35 -0
- data/test/test_unit_diff.rb +372 -0
- data/test/test_zentest.rb +566 -0
- data/test/test_zentest_mapping.rb +242 -0
- metadata +151 -0
data/.autotest
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
|
3
|
+
require 'autotest/restart'
|
4
|
+
|
5
|
+
Autotest.add_hook :initialize do |at|
|
6
|
+
at.order = :random
|
7
|
+
at.add_exception 'coverage'
|
8
|
+
at.add_exception 'coverage.info'
|
9
|
+
|
10
|
+
at.libs << ':../../minitest/dev/lib'
|
11
|
+
at.testlib = "minitest/autorun"
|
12
|
+
|
13
|
+
%w(TestZenTest).each do |klass|
|
14
|
+
at.extra_class_map[klass] = "test/test_zentest.rb"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
Autotest.add_hook :all_good do |at|
|
19
|
+
system "rake rcov_info"
|
20
|
+
end if ENV['RCOV']
|
21
|
+
|
data/.gemtest
ADDED
File without changes
|
data/History.txt
ADDED
@@ -0,0 +1,795 @@
|
|
1
|
+
=== 4.6.1 / 2011-08-11
|
2
|
+
|
3
|
+
* 3 bug fixes:
|
4
|
+
|
5
|
+
* Fix for option flags and unhandled error warning in autotest. (dbackeus)
|
6
|
+
* Fix option w/ args handling and restart by storing ARGV in options[:args]
|
7
|
+
* Fixed autotest --rc option handling. (simplybusiness)
|
8
|
+
|
9
|
+
=== 4.6.0 / 2011-07-22
|
10
|
+
|
11
|
+
* 6 minor enhancements:
|
12
|
+
|
13
|
+
* Added -p (plain diff) and made -u (unified diff) the default for unit_diff.
|
14
|
+
* Added ./tmp to default exclusions.
|
15
|
+
* Autotest defaults unit_diff to nil now, to allow minitest's enhanced assert_equal to shine.
|
16
|
+
* Autotest will raise if the :died handler doesn't handle the exception. (ralfebert)
|
17
|
+
* Dropped 1.8.6 as a default tag/branch to build in multiruby.
|
18
|
+
* autotest can now be automatically 'narrowed' on the command-line.
|
19
|
+
* eg: `autotest lib test/test_blah.rb`
|
20
|
+
|
21
|
+
* 7 bug fixes:
|
22
|
+
|
23
|
+
* Believe it or not... but some ppl use zentest. Fixed nested class vs module bug
|
24
|
+
* Fix to turn on jruby's support for ObjectSpace. (stepheneb)
|
25
|
+
* Fixed a rubygems deprecation in autotest
|
26
|
+
* Fixed unit_diff scanning for minitest output.
|
27
|
+
* Normalized shebangs to fix problems on windows (luis)
|
28
|
+
* autotest/isolate.rb sets GEM_HOME as well as GEM_PATH.
|
29
|
+
* Fixed 1.9.3 warnings.
|
30
|
+
|
31
|
+
=== 4.5.0 / 2011-02-18
|
32
|
+
|
33
|
+
* 6 minor enhancements:
|
34
|
+
|
35
|
+
* Added autotest -w flag to turn on warnings. Turned off warnings by default.
|
36
|
+
* Added autotest/preload.rb to deal with rails being egregiously slow.
|
37
|
+
* Added child process handling/cleanup on signals.
|
38
|
+
* Added postinitialize hook.
|
39
|
+
* Improved restart mechanism to include all flags.
|
40
|
+
* Refactored restart plugin to Autotest#restart.
|
41
|
+
|
42
|
+
* 5 bug fixes:
|
43
|
+
|
44
|
+
* Added sigquit handler to restart app straight up.
|
45
|
+
* Fixed autotest/isolate so it works
|
46
|
+
* Fixed parse_options to take args array (default ARGV) and to be non-destructive.
|
47
|
+
* Strip ascii color to avoid false positives. (graemeworthy)
|
48
|
+
* Use RbConfig to remove warning
|
49
|
+
|
50
|
+
=== 4.4.2 / 2010-12-10
|
51
|
+
|
52
|
+
* 2 bug fixes:
|
53
|
+
|
54
|
+
* Added a temporary hack to deal with rspec(2?) discovery hacks.
|
55
|
+
* Fixed windoze detection for unit_diff (thyresias)
|
56
|
+
|
57
|
+
=== 4.4.1 / 2010-12-01
|
58
|
+
|
59
|
+
* 12 minor enhancements:
|
60
|
+
|
61
|
+
* Merged in most things from the autotest gem:
|
62
|
+
* Added --no-full-after-failed. (grosser)
|
63
|
+
* Added --rc path-to-dot-autotest. (grosser)
|
64
|
+
* Added --style autotest-style. (grosser)
|
65
|
+
* Added clarification comments. (grosser)
|
66
|
+
* Added rake task descriptions. (grosser)
|
67
|
+
* Switched to optparse. (grosser)
|
68
|
+
* Switched windoze detection. (grosser, tenderlove)
|
69
|
+
* Did not merge test parallelization. It should be a plugin. Awaiting patch.
|
70
|
+
* Added autotest/bundler plugin.
|
71
|
+
* Added autotest/isolate plugin.
|
72
|
+
* Added capture of skips (for minitest) from result line.
|
73
|
+
* Added focus_re to focus.rb.
|
74
|
+
* Added latest_results hash.
|
75
|
+
* Cleaned up unit_diff matcher by using any?
|
76
|
+
* Enhanced the help/usage for autotest and zentest. (hugh sasse)
|
77
|
+
* Refactored autotest runner discovery.
|
78
|
+
* Refactored ruby_cmd to allow plugins to affect ruby execution.
|
79
|
+
* Removed befuddling override of Dir.[] from 2007. *shrug*
|
80
|
+
* Removed deny method in favor of aliasing refute.
|
81
|
+
|
82
|
+
* 2 bug fixes:
|
83
|
+
|
84
|
+
* 1.9 shadowed variable fix
|
85
|
+
* autotest/restart now passes ARGV back through to exec. yay!
|
86
|
+
|
87
|
+
=== 4.4.0 / 2010-09-01
|
88
|
+
|
89
|
+
* 1 major enhancement:
|
90
|
+
|
91
|
+
* Removed git building. I'm dropping direct support for rubinius.
|
92
|
+
|
93
|
+
* 3 minor enhancements:
|
94
|
+
|
95
|
+
* Added multiruby mri:list:x.y.z command so you can see what's available.
|
96
|
+
* Enabled installing specific patch versions of ruby.
|
97
|
+
* multiruby rubygems:update now forces a build to be less confusing.
|
98
|
+
|
99
|
+
* 1 bug fix:
|
100
|
+
|
101
|
+
* Removed redundant test_to_normal, now in zentest_mappings
|
102
|
+
|
103
|
+
=== 4.3.3 / 2010-06-17
|
104
|
+
|
105
|
+
* 2 minor enhancements:
|
106
|
+
|
107
|
+
* Added options and removed pattern from Autotest::RCov
|
108
|
+
* update_rubygems now deletes cached rubygems installs
|
109
|
+
|
110
|
+
=== 4.3.2 / 2010-06-02
|
111
|
+
|
112
|
+
* 1 minor enhancement:
|
113
|
+
|
114
|
+
* Removed support for rbx builds.
|
115
|
+
|
116
|
+
* 2 bug fixes:
|
117
|
+
|
118
|
+
* Removed 'preview' from version filter so I can test with 1.9.2
|
119
|
+
* Put PATH tweaks at front of PATH
|
120
|
+
|
121
|
+
=== 4.3.1 / 2010-03-30
|
122
|
+
|
123
|
+
* 1 bug fix:
|
124
|
+
|
125
|
+
* Fixed autotest output on 1.8. That's what I get for not having
|
126
|
+
tests for dots.
|
127
|
+
|
128
|
+
=== 4.3.0 / 2010-03-27
|
129
|
+
|
130
|
+
* 1 minor enhancement:
|
131
|
+
|
132
|
+
* Added gemcutter rubyforge and hoe to the_usual setup
|
133
|
+
|
134
|
+
* 4 bug fixes:
|
135
|
+
|
136
|
+
* 1.9 compat: don't use putc anymore. (fistfvck (hah!))
|
137
|
+
* Added note that included articles are out of date
|
138
|
+
* Fixed rcov plugin so multiple all_good hooks can coexist
|
139
|
+
* Fixed typo in doco
|
140
|
+
|
141
|
+
=== 4.2.1 / 2009-12-09
|
142
|
+
|
143
|
+
* 1 minor enhancement:
|
144
|
+
|
145
|
+
* Added GEM_HOME/GEM_PATH setting to multiruby.
|
146
|
+
|
147
|
+
* 1 bug fix:
|
148
|
+
|
149
|
+
* Fixed multiruby refactoring bug from previous release.
|
150
|
+
|
151
|
+
=== 4.2.0 / 2009-12-08
|
152
|
+
|
153
|
+
* 3 minor enhancements:
|
154
|
+
|
155
|
+
* Added 'multiruby -1 $version' for easier execution (idea from flori)
|
156
|
+
* Set up and tear down PATH in multiruby (luis)
|
157
|
+
* died hook now gets passed the exception (amikula)
|
158
|
+
|
159
|
+
* 3 bug fixes:
|
160
|
+
|
161
|
+
* Deal with windoze getc returning nil (undees)
|
162
|
+
* Fix unit_diff for multiline miniunit results.
|
163
|
+
* Fix warning for 1.8.8+
|
164
|
+
|
165
|
+
=== 4.1.4 / 2009-08-07
|
166
|
+
|
167
|
+
* 2 minor enhancements:
|
168
|
+
|
169
|
+
* Added ability to prepend file mappings in autotest. (irohiroki)
|
170
|
+
* Switched autodiscover to use Gem.find_files.
|
171
|
+
|
172
|
+
* 2 bug fixes:
|
173
|
+
|
174
|
+
* Updated doco for API changes. (David Ruan)
|
175
|
+
* Updated git URL for Rubinius. jbarnette
|
176
|
+
|
177
|
+
=== 4.1.3 / 2009-06-23
|
178
|
+
|
179
|
+
* 1 bug fix:
|
180
|
+
|
181
|
+
* Fixed rakefile to include seattlerb plugin. release was flubbed
|
182
|
+
|
183
|
+
=== 4.1.2 / 2009-06-23
|
184
|
+
|
185
|
+
* 1 minor enhancement:
|
186
|
+
|
187
|
+
* multiruby configure now passes --enable-shared to support wilson and friends.
|
188
|
+
|
189
|
+
* 2 bug fixes:
|
190
|
+
|
191
|
+
* Delete RUBYOPT in multiruby_setup to avoid catastrophe. dbalatero
|
192
|
+
* Fixed version number munging for tarballs.
|
193
|
+
|
194
|
+
=== 4.1.1 / 2009-06-03
|
195
|
+
|
196
|
+
* 1 bug fix:
|
197
|
+
|
198
|
+
* some calls to Multiruby.run didn't have logging. fixed (jcoglan)
|
199
|
+
|
200
|
+
=== 4.1.0 / 2009-06-03
|
201
|
+
|
202
|
+
* 1 major enhancement:
|
203
|
+
|
204
|
+
* Removed all plugins I don't want to maintain anymore. (gem inst autotest-rails)
|
205
|
+
|
206
|
+
* 4 minor enhancements:
|
207
|
+
|
208
|
+
* Added #blur to focus.rb to nuke all other test classes
|
209
|
+
* Clear RUBYOPT before installs (balatero)
|
210
|
+
* Removed test/unit include in zentest so we can focus on miniunit
|
211
|
+
* sort versions for builds. (Jens Wille)
|
212
|
+
|
213
|
+
* 6 bug fixes:
|
214
|
+
|
215
|
+
* Fixed a stupid bug when running on some versions of bash >= 3.2.x and using '&>' in a system call. (Jens Wille)
|
216
|
+
* Fixed inconsistent test commands in autotest. (jbarnette)
|
217
|
+
* Fixed unit_diff's usage generation when installed as gem. (borior)
|
218
|
+
* Fixed zentest to deal with unnamed classes. (Bill Dortch)
|
219
|
+
* Removed buggy/unused -l support in unit_diff. (borior)
|
220
|
+
* make twice to make it more resilient to makefile parallel bugs
|
221
|
+
|
222
|
+
=== 4.0.0 / 2009-03-02
|
223
|
+
|
224
|
+
* 2 minor enhancements:
|
225
|
+
|
226
|
+
* Deleted autotest/screen - releasing as a separate gem soon.
|
227
|
+
* Deleted test-rails and rails_test_audit.
|
228
|
+
|
229
|
+
* 8 minor enhancements:
|
230
|
+
|
231
|
+
* Added "tags" command to multiruby_setup.
|
232
|
+
* Added "the_usual" as a recipe for multiruby_setup. Motivated by Dr. Nic.
|
233
|
+
* Added :died hook to Autotest (yoshuki).
|
234
|
+
* Added focus.rb, helping you ignore extra tests while you focus on something.
|
235
|
+
* Added multigem command line tool!
|
236
|
+
* Cleaned up multiruby to make it easier to tweak.
|
237
|
+
* Parameterized testlib so you can override test/unit in autotest. Thanks JB!
|
238
|
+
* Switched tests and rakefile to minitest. 20% faster!
|
239
|
+
|
240
|
+
* 7 bug fixes:
|
241
|
+
|
242
|
+
* Fix Autotest::Screen to distinguish between errors and failures. (khalsah)
|
243
|
+
* Fixed some hook commands from overriding others.
|
244
|
+
* Hopefully fixed growl support on 10.5.x?
|
245
|
+
* Supposedly adding -w to growlnotify will fix autotest/growl.
|
246
|
+
* Updated missing entries in Autotest::ALL_HOOKS.
|
247
|
+
* Updated rubygems download location. (carletti)
|
248
|
+
* Still not automated :(
|
249
|
+
* ruby 1.9.1 fixes.
|
250
|
+
|
251
|
+
=== 3.11.1 / 2009-01-20
|
252
|
+
|
253
|
+
* 1 minor enhancement:
|
254
|
+
|
255
|
+
* Parameterized test_lib so you can override test/unit. Thanks JB!
|
256
|
+
|
257
|
+
* 1 bug fix:
|
258
|
+
|
259
|
+
* Fixed growl autotest plugin hooks to not return true, preempting other plugins.
|
260
|
+
|
261
|
+
=== 3.11.0 / 2008-10-22
|
262
|
+
|
263
|
+
* 19 minor enhancements:
|
264
|
+
|
265
|
+
* Added :updated hook, gets list of updated files before running tests.
|
266
|
+
* Added autotest/restart.rb - restarts autotest if .autotest updated.
|
267
|
+
* Added better help to multiruby.
|
268
|
+
* Added dummy build command to multiruby_setup.
|
269
|
+
* Added git support.
|
270
|
+
* Added rbx:ln:$dir and rbx:git:current.
|
271
|
+
* Added rubygems:merge as a nice little hack to share rubygems setups.
|
272
|
+
* Added svn tag updating (eg will svn sw from mri 1.8.6 222 to 1.8.6 231).
|
273
|
+
* Autotest hooks now take *args as well as instance of autotest.
|
274
|
+
* Made it possible to have manually specified tags.
|
275
|
+
* Made multiruby a little more self-repairing wrt symlinks and build dirs.
|
276
|
+
* Refactored into mri_latest_tag(v).
|
277
|
+
* Refactored unit_diff to make it a bit easier to use as a library.
|
278
|
+
* Refactored zentest mapping main methods into munge/unmunge.
|
279
|
+
* Removed rubinius specific symlink hacks, now fully supported.
|
280
|
+
* mri:svn:releases figures out all the latest patch levels.
|
281
|
+
* multiruby_setup clean now checks for rakefile first, since rbx has both. :(
|
282
|
+
* multiruby_setup help now exits instead of building.
|
283
|
+
* multiruby_setup list and clean now exit
|
284
|
+
|
285
|
+
* 2 bug fixes:
|
286
|
+
|
287
|
+
* ZenTestMapping converts operator prefixes to operators only when an _ follows.
|
288
|
+
* Apparently Tempfile.open doesn't return it's last value. fixed.
|
289
|
+
|
290
|
+
* 2 bug fixes:
|
291
|
+
|
292
|
+
* Fixed bug in mri:svn:branch:xxx with svn dir name.
|
293
|
+
* multiruby_setup rm now smarter about tarballs.
|
294
|
+
|
295
|
+
=== 3.10.0 / 2008-06-17
|
296
|
+
|
297
|
+
* 1 major enhancement:
|
298
|
+
|
299
|
+
* Added multiruby_setup to help manage multiruby installed versions.
|
300
|
+
|
301
|
+
* 3 minor enhancements:
|
302
|
+
|
303
|
+
* Added autotest/once plugin to help plugin developers.
|
304
|
+
* Heavily refactored multiruby.
|
305
|
+
* Switched rubinius from shotgun/rubinius to bin/rbx, finally.
|
306
|
+
|
307
|
+
* 2 bug fixes:
|
308
|
+
|
309
|
+
* Refactored zentest_mapping test to avoid zentest altogether.
|
310
|
+
* zentest tests bail gracefully for rubinius.
|
311
|
+
|
312
|
+
=== 3.9.3 / 2008-06-09
|
313
|
+
|
314
|
+
* 12 minor enhancements:
|
315
|
+
|
316
|
+
* Added $RUBY env support to autotest so you can swap what ruby to run.
|
317
|
+
* Added ALL_HOOKS array to autotest for hook devs.
|
318
|
+
* Added EXCLUDED_VERSIONS to multiruby. Integrated with hoe.
|
319
|
+
* Added miniunit compatibility to unit_diff's output.
|
320
|
+
* Multiruby now determines the latest versions 1.8/1.9 automatically.
|
321
|
+
* Removed deprecated :run hook.
|
322
|
+
* Fixed zentest_assertions to be compatible with miniunit. Will phase out.
|
323
|
+
* Minor autotest plugin cleanup / fixes.
|
324
|
+
* Moved assert_callback to test/rails/test_case.rb
|
325
|
+
* Reversed assert_includes' arguments.
|
326
|
+
* Updated requirements info for other ruby impls.
|
327
|
+
* util_capture now returns strings, not iostrings.
|
328
|
+
|
329
|
+
* 1 bug fixes:
|
330
|
+
|
331
|
+
* (add|remove)_(mappings|exceptions) now all return nil to help fix autotest hooks.
|
332
|
+
|
333
|
+
=== 3.9.2 / 2008-03-20
|
334
|
+
|
335
|
+
* 4 minor enhancements:
|
336
|
+
|
337
|
+
* Added compatibility with miniunit differences.
|
338
|
+
* Added email_notify, jabber_notify, and rcov autotest plugins.
|
339
|
+
* Updated rakefile to include examples automatically in example_dot_autotest.
|
340
|
+
* multiruby now outputs each command so you can grab it easily.
|
341
|
+
|
342
|
+
* 5 bug fixes:
|
343
|
+
|
344
|
+
* Ensure tests are run after reset.
|
345
|
+
* Fixed all test/rails tests to run in any combo.
|
346
|
+
* Fixed up growl.rb a bit... still buggy (growlnotify, not growl.rb).
|
347
|
+
* Fixes for -f (fast start) and last_mtime in general.
|
348
|
+
* Fixes for 1.9 and rubinius
|
349
|
+
|
350
|
+
=== 3.9.1 / 2008-01-31
|
351
|
+
|
352
|
+
* 1 bug fix:
|
353
|
+
|
354
|
+
* OMG I'm so dumb... fixed memory leak.
|
355
|
+
|
356
|
+
=== 3.9.0 / 2008-01-30
|
357
|
+
|
358
|
+
* 15 minor enhancements:
|
359
|
+
|
360
|
+
* Added Wilson's patch to allow unit_diff to work with mspec. Adding rspec next.
|
361
|
+
* Minor overhaul for autotest:
|
362
|
+
* Added -f flag to start up without testing.
|
363
|
+
* Added -q flag to autotest to make it extra quiet. Patch by Aaron Patterson.
|
364
|
+
* Added ability to set test execution order, defaults to :random. EVIL!
|
365
|
+
* Added completed_re and failed_results_re to help subclasses like rspec.
|
366
|
+
* Added deprecation warnings for hooks. Deprecated :run.
|
367
|
+
* Added find_directories accessor, defaults to ['.']
|
368
|
+
* Added sleep accessor, defaults to 1 second.
|
369
|
+
* Changed find_files to order files in the same order as find_directories.
|
370
|
+
* Changed how autodiscover works with $:, added lib to the front.
|
371
|
+
* Cleaned out nearly every @ and use accessor methods instead. You should too.
|
372
|
+
* Made test_mappings ordered.
|
373
|
+
* Removed @files, adding @find_order and @known_files.
|
374
|
+
* Renamed tests_for_file to test_files_for.
|
375
|
+
* test_files_for now only returns known files.
|
376
|
+
|
377
|
+
=== 3.8.0 / 2008-01-12
|
378
|
+
|
379
|
+
* 10 minor enhancements:
|
380
|
+
|
381
|
+
* Added basic support for rubinius in multiruby.
|
382
|
+
* Changed Dunno! message to only output on -v
|
383
|
+
* Added Getting Started with Autotest by Philippe Hanrigou (with permission)
|
384
|
+
* Updated example_dot_autotest.rb for newer plugins.
|
385
|
+
* Cleaned up rdoc.
|
386
|
+
* Worked with David Chelimsky to make Autotest more uber for subclasses.
|
387
|
+
* Removed exceptions and test_mappings accessors and replaced with add/remove/clear methods. Updating .autotest should be very straightforward.
|
388
|
+
* Moved :initialize hook to beginning of run method
|
389
|
+
* Changed load/customization order to be:
|
390
|
+
* Autotest
|
391
|
+
* AutotestSubClass
|
392
|
+
* ~/.autotest
|
393
|
+
* ./.autotest (yes, both .autotest files).
|
394
|
+
* Moved away from using instance variables to encourage subclasses to use accessors.
|
395
|
+
|
396
|
+
=== 3.7.2 / 2008-01-09
|
397
|
+
|
398
|
+
* 2 minor enhancements:
|
399
|
+
|
400
|
+
* Extended file map for tests to include subdirs correctly.
|
401
|
+
* Added debugging output on bad maps if -v set.
|
402
|
+
|
403
|
+
=== 3.7.1 / 2007-12-27
|
404
|
+
|
405
|
+
* 2 minor enhancements:
|
406
|
+
|
407
|
+
* multiruby now downloads 1.8.6 and 1.9 on virgin run.
|
408
|
+
* Improved output for the downloads.
|
409
|
+
|
410
|
+
=== 3.7.0 / 2007-12-21
|
411
|
+
|
412
|
+
* 8 minor enhancements:
|
413
|
+
|
414
|
+
* Added add_mapping to make file mappings cleaner.
|
415
|
+
* Added assert_callback thanks to Aaron Patterson.
|
416
|
+
* Added autotest/cctray.
|
417
|
+
* Added extra_files and extra_class_map, allowing .autotest files to be awesome.
|
418
|
+
* Added url for lettuce principal thanks to Hugh Sasse.
|
419
|
+
* Added zentest.rb refactorings thanks to Hugh Sasse.
|
420
|
+
* Exceptions are now an array of regexps, built after :initialize hook.
|
421
|
+
* Removed ruby_fork and ruby_fork_client. Eric got a faster laptop. :P
|
422
|
+
|
423
|
+
* 6 bug fixes:
|
424
|
+
|
425
|
+
* Fixed all my annoyances with @exceptions.
|
426
|
+
* Fixed crasher in autotest/redgreen for non-matches.
|
427
|
+
* Fixed everything to work with ruby 1.9.
|
428
|
+
* Fixed rubygem requires causing strangeness in tests.
|
429
|
+
* Fixed zentest mapping so ruby2ruby and test_ruby2ruby work.
|
430
|
+
* Removed stupid YAML methods from TrueClass during
|
431
|
+
testing. (Infected by Test::Rails' use of rubygems)
|
432
|
+
|
433
|
+
=== 3.6.1 / 2007-07-23
|
434
|
+
|
435
|
+
* 4 minor enhancements:
|
436
|
+
|
437
|
+
* Test::Rails::ViewTestCase now uses assert_select.
|
438
|
+
* assert_form and friends now work with blocks like assert_select
|
439
|
+
does.
|
440
|
+
* Allow path_parameters in view tests to be ammended, making working
|
441
|
+
with routes easier.
|
442
|
+
* New version of autotest/notify.rb uses notify-send.
|
443
|
+
* Fixed rdoc formatting on autotest and a couple plugins.
|
444
|
+
|
445
|
+
=== 3.6.0 / 2007-05-25
|
446
|
+
|
447
|
+
* 4 major enhancements:
|
448
|
+
|
449
|
+
* New auto-discovery mechanism to make rspec and friends work independently!
|
450
|
+
* Moved and restructured camping and rails as plugins.
|
451
|
+
* Removed rspec - now packaged with rspec and/or as plugin.
|
452
|
+
* Changed the way FTM tests are named. Allows multiple matricies.
|
453
|
+
|
454
|
+
* 3 minor enhancements:
|
455
|
+
|
456
|
+
* Added :OK special result value to FTM.
|
457
|
+
* Hugh Sasse is awesome. Rdoc happiness.
|
458
|
+
* Parameterized emacs client command.
|
459
|
+
|
460
|
+
* 3 bug fixes:
|
461
|
+
|
462
|
+
* Dup load path because I'm dum.
|
463
|
+
* Fixed a lame syntax error in emacs.rb.
|
464
|
+
* autotest now builds command separator with '&' on windoze. ARGH! Why is this the first I've heard of this?!?
|
465
|
+
|
466
|
+
=== 3.5.2 / 2007-04-30
|
467
|
+
|
468
|
+
* 4 bug fixes:
|
469
|
+
|
470
|
+
* Patch up Rails fixture defaults for Test::Rails::TestCase.
|
471
|
+
* Session now properly hooked up to controllers.
|
472
|
+
* ruby 1.8.6 has a bug on 'raise Interrupt' with no args. Fixed on both sides.
|
473
|
+
* Fixed redgreen to work with new getc/putc-based output. (from Finn Smith)
|
474
|
+
|
475
|
+
=== 3.5.1 / 2007-04-17
|
476
|
+
|
477
|
+
* 4 bug fixes:
|
478
|
+
|
479
|
+
* Fixed gem name to be camel-case again. Fixed on rubyforge too.
|
480
|
+
* Fixed rdoc for hooks.
|
481
|
+
* Fixed redgreen, results changed to an array.
|
482
|
+
* Patch up Rails fixture defaults, since they're not inheriting properly.
|
483
|
+
|
484
|
+
=== 3.5.0 / 2007-04-12
|
485
|
+
|
486
|
+
* 4 major enhancements:
|
487
|
+
|
488
|
+
* Now requires RubyGems 0.9.1 or newer.
|
489
|
+
* Autotest and unit_diff are both unbuffered. Results are more live.
|
490
|
+
* Refactored and redesigned how files map to test from Sean Carley. See fixtures plugin as an example.
|
491
|
+
* Generalize how autotest handler is instantiated and invoked, allowing for many more autotest types, including combos.
|
492
|
+
|
493
|
+
* 23 minor enhancements:
|
494
|
+
|
495
|
+
* Added all_good hook if initial run was all_good as well.
|
496
|
+
* Added assert_in_epsilon to ZentestAssertions.
|
497
|
+
* Added autotest plugin to auto-update source ala tinderbox/cruisecontrol.
|
498
|
+
* Added autotest plugin to update ichat/adium IM status with code stats.
|
499
|
+
* Added autotest plugin to update the GNU screen statusbar from Yuichi Tateno.
|
500
|
+
* Added autotest syntax error handling from Ryan Platte.
|
501
|
+
* Added autotest/emacs emacs integration plugin!!! YAY!
|
502
|
+
* Added autotest/migrate.rb.
|
503
|
+
* Added camping support from Geoffrey Grossenbach.
|
504
|
+
* Added changed file reporting to autotest via -v flag.
|
505
|
+
* Added informative summary and filtering via ENV['VERSIONS'] to multiruby.
|
506
|
+
* Added libnotify support from Kazuo Saito.
|
507
|
+
* Added lots of rdoc patches from Hugh Sasse.
|
508
|
+
* Added rjs files to view_test_case.
|
509
|
+
* Added rspec_autotest "stolen" from caldersphere.net
|
510
|
+
* Added run_command hook to trigger the start of a test run.
|
511
|
+
* Added tmp to rails' exceptions list.
|
512
|
+
* Added unit_diff command variable to autotest for customizing flags and such.
|
513
|
+
* Added zentest_mapping.rb and test.
|
514
|
+
* Allow session to work in Test::Rails view tests.
|
515
|
+
* Improved autotest/growl.rb output from imajes.
|
516
|
+
* Improved autotest/timestamp output from Josh Susser.
|
517
|
+
* Test::Rails works with Rails 1.2.
|
518
|
+
|
519
|
+
* 2 bug fixes:
|
520
|
+
|
521
|
+
* Accelerated Test::Rails unit tests via sensible defaults.
|
522
|
+
* Better assertion messages for ZentestAssertions.
|
523
|
+
|
524
|
+
=== 3.4.3 / 2006-12-19
|
525
|
+
|
526
|
+
* 2 minor enhancements:
|
527
|
+
|
528
|
+
* Add assert_title and assert_h (for header).
|
529
|
+
|
530
|
+
* 2 bug fixes:
|
531
|
+
|
532
|
+
* Rereleased against latest version of hoe to fix load path problems.
|
533
|
+
* Fix case ViewTestCase for case-sensitive file systems.
|
534
|
+
|
535
|
+
=== 3.4.2 / 2006-11-09
|
536
|
+
|
537
|
+
* 2 minor enhancements:
|
538
|
+
|
539
|
+
* Add TextHelper for pluralize.
|
540
|
+
* Add deny_nil to Test::Rails.
|
541
|
+
|
542
|
+
* 7 bug fixes:
|
543
|
+
|
544
|
+
* Fixed test_help's Flash. It's is a module. Oops...
|
545
|
+
* Don't run util_audit_assert_assigned if tests didn't pass, results will be bogus.
|
546
|
+
* Fixed AssertionsTest names to match what autotest expects.
|
547
|
+
* Fixed bug where deny_includes failed for Symbol keys.
|
548
|
+
* Switched autotest to use require instead of load... Why??? I don't know!!
|
549
|
+
* Fixed a minor but annoying whitespace difference in unit_diff.
|
550
|
+
* Switched argument order of assert_includes and deny_includes to match Test::Unit convention.
|
551
|
+
|
552
|
+
=== 3.4.1 / 2006-10-13
|
553
|
+
|
554
|
+
* 3 minor enhancements:
|
555
|
+
|
556
|
+
* FUNDAMENTALLY changed the way failures map back to tests. This REQUIRES users of autotest to ensure that their tests and impls map 1:1 at every scoping level. I'll blog more details.
|
557
|
+
* Hoe'd rakefile
|
558
|
+
* Added support for render :collection to RenderTree.
|
559
|
+
|
560
|
+
* 7 bug fixes:
|
561
|
+
|
562
|
+
* Fixed autotest tests for custom ruby names.
|
563
|
+
* Fixed some documentation errors in ControllerTestCase.
|
564
|
+
* Fixed setup in FunctionalTestCase.
|
565
|
+
* Allowed @assigns_ignored to contain either Symbols or Strings, bug 5233.
|
566
|
+
* Using Object.path2class to look up classes in helper test cases, bug 5493.
|
567
|
+
* Added assert_text_area, bug 5452.
|
568
|
+
* Renamed assert_select to assert_select_tag. Stupid rails. We were here first.
|
569
|
+
|
570
|
+
=== 3.4.0 / 2006-09-12
|
571
|
+
|
572
|
+
* 13 minor enhancements:
|
573
|
+
|
574
|
+
* Broke out example_dot_autotest into multiple files in lib.
|
575
|
+
* Enhanced hook system so it can return true if event handled.
|
576
|
+
* Sleep is now 1 second by default because life is too short.
|
577
|
+
* Hooked interrupt with new hook system. First handler wins.
|
578
|
+
* Hooked test results before output
|
579
|
+
* Accurate test counts for Test::Rails.
|
580
|
+
* Added snarl autotest plugin, thanks to Patrick Hurley.
|
581
|
+
* Added timestamp autotest plugin, thanks to Joe Goldberg.
|
582
|
+
* Added redgreen, thanks to Pat Eyler, Sean Carley, and Rob Sanheim.
|
583
|
+
* Added kdenotify autotest plugin, thanks to Geir Freysson.
|
584
|
+
* Added markaby support for Test::Rails.
|
585
|
+
* Added hack to display a tree of render calls.
|
586
|
+
* Added hook to perform extra setup for
|
587
|
+
|
588
|
+
* 5 bug fixes:
|
589
|
+
|
590
|
+
- Extended zentest to deal with rails a bit better... ugh.
|
591
|
+
- Fixed @libs for windoze.
|
592
|
+
- Fixed inner class/test identification in autotest.
|
593
|
+
- Namespaced all plugins... eric is anal.
|
594
|
+
- No longer freak out if rubygems tarball not in multiruby/versions.
|
595
|
+
|
596
|
+
=== 3.3.0 / 2006-07-28
|
597
|
+
|
598
|
+
* 1 major enhancement:
|
599
|
+
|
600
|
+
* autotest has been rewritten to be much cleaner, now has a plugin system.
|
601
|
+
|
602
|
+
* 5 minor enhancements:
|
603
|
+
|
604
|
+
* test/rails adds helper tests, "stolen" from Geoff's work, (which was "stolen" from ryan's work. :P)
|
605
|
+
* autotest turnaround is now faster.
|
606
|
+
* Added more prune dirs to autotest.
|
607
|
+
* test/rails rewinds IOs containing captured output. Added assert_empty.
|
608
|
+
* Document that autotest doesn't run the db:test:prepare rake task when in Rails mode.
|
609
|
+
* Added ruby_fork, but haven't fully plugged into autotest yet.
|
610
|
+
|
611
|
+
* 7 bug fixes:
|
612
|
+
|
613
|
+
* Add SIGINT handler to unit_diff to give a more graceful exit.
|
614
|
+
* Don't strip <> from tempfiles, parse_diff does it for us.
|
615
|
+
* Fixed autotest problems on windoze. Ugh.
|
616
|
+
* Fixed broken pipe bug and newline bug in unit_diff.
|
617
|
+
* Make request_method in ControllerTestCase a String.
|
618
|
+
* multitest installs rubygems if tarball found in versions dir.
|
619
|
+
* multitest only configures when makefile is missing. Rebuilds much faster now.
|
620
|
+
* ruby_fork exits without backtrace and allows redirection of output.
|
621
|
+
|
622
|
+
=== 3.2.0 / 2006-04-10
|
623
|
+
|
624
|
+
* 1 major enhancement:
|
625
|
+
|
626
|
+
* Added Test::Rails.
|
627
|
+
|
628
|
+
* 1 minor enhancement:
|
629
|
+
|
630
|
+
* Extended autotest for Test::Rails.
|
631
|
+
|
632
|
+
* 4 bug fixes:
|
633
|
+
|
634
|
+
* Autotest now detects changes in rhtml.
|
635
|
+
* Improved autotest's file mapping and choice of ruby.
|
636
|
+
* We've got RDoc, yes we do!
|
637
|
+
* Removed redundancies in rakefile. Using gem spec for most stuff now.
|
638
|
+
|
639
|
+
=== 3.1.0 / 2006-03-29
|
640
|
+
|
641
|
+
* 2 major enhancements:
|
642
|
+
|
643
|
+
* Added multiruby! YAY!
|
644
|
+
* Massive improvements to autotest: speed, reliability, reporting, etc.
|
645
|
+
|
646
|
+
* 10 minor enhancements:
|
647
|
+
|
648
|
+
* multiruby builds in a centralized location. YAY!
|
649
|
+
* multiruby now allows reinstalls quickly and easily (can even skip config).
|
650
|
+
* multiruby exits with total sum of exit codes.
|
651
|
+
* autotest file search is muuuuch faster.
|
652
|
+
* autotest automatically detects rails mode.
|
653
|
+
* autotest deals with rails dependencies much better.
|
654
|
+
* autotest reruns a full suite after you go green to ensure full coverage.
|
655
|
+
* autotest always runs with unit_diff -u.
|
656
|
+
* autotest can now run cvs/svn/p4 up periodically to be a mini-tinderbox.
|
657
|
+
* autotest now has real help.
|
658
|
+
|
659
|
+
* 4 bug fixes:
|
660
|
+
|
661
|
+
* ZenTest is now zentest. Yay for consistency! (do a rake uninstall to clean)
|
662
|
+
* ZenTest excludes pretty_print methods.
|
663
|
+
* Fixed unary operator issues (they were backwards... oops!) for ZenTest.
|
664
|
+
* unit_diff now runs diff.exe on Windoze. dunno if that will work.
|
665
|
+
|
666
|
+
=== 3.0.0 / 2006-03-06
|
667
|
+
|
668
|
+
* 2 major enhancements:
|
669
|
+
|
670
|
+
* Added autotest and rails_autotest. YAY for continous testing!
|
671
|
+
* Repackaged and gemified. YAY for gemification!
|
672
|
+
|
673
|
+
* 3 minor enhancements:
|
674
|
+
|
675
|
+
* Added non-mappable tests starting with test_integration_.
|
676
|
+
* Lots of code and test refactoring and cleanup.
|
677
|
+
* Massive improvement on unit tests.
|
678
|
+
|
679
|
+
* 3 bug fixes:
|
680
|
+
|
681
|
+
* Cleaned up class method inheritence. Esp relevant for rails testing.
|
682
|
+
* Finally fixed the unit_diff parse bug!
|
683
|
+
* Fixed improper counting of errors if a class was missing, should be 1 + missing methods.
|
684
|
+
|
685
|
+
=== 2.4.0 / 2005-03-21
|
686
|
+
|
687
|
+
* 3 minor enhancements:
|
688
|
+
|
689
|
+
* Able to audit standard class library (so now we can audit rubicon!).
|
690
|
+
* Able to map against class methods (self.blah <=> test_class_blah).
|
691
|
+
* Added -I=rubypath support
|
692
|
+
|
693
|
+
* 4 bug fixes:
|
694
|
+
|
695
|
+
* bug:1151 Fixed stupid problem w/ unit_diff.
|
696
|
+
* bug:1454 code generation correctly matches class/module for nested classes.
|
697
|
+
* bug:1455 Updated method mapping to work on all operators listed in my quickref.
|
698
|
+
* Realized I'm a moron and did NOT release in March like I thought...
|
699
|
+
|
700
|
+
=== 2.3.0 / 2004-11-18
|
701
|
+
|
702
|
+
* 6 minor enhancements:
|
703
|
+
|
704
|
+
* Massively expanded the method name mappings.
|
705
|
+
* Added -r flag to reverse map names, for Rails style testing.
|
706
|
+
* Added -e to auto eval tests generated.
|
707
|
+
* Added -b & -c flags in unit_diff (passed to diff)
|
708
|
+
* Added install and uninstall rules to Makefile.
|
709
|
+
* Added some more doco to README.txt
|
710
|
+
|
711
|
+
* 7 bug fixes:
|
712
|
+
|
713
|
+
* Cleaned up and refactored tests.
|
714
|
+
* Changed the way files are generated, to accomodate new flags.
|
715
|
+
* Added some more tests.
|
716
|
+
* Added $ZENTEST=true
|
717
|
+
* Fixed the one-liner diff bug.
|
718
|
+
* Cleaned up multi-line string diffs by unescaping \n
|
719
|
+
* Cleaned result for flunks.
|
720
|
+
|
721
|
+
=== 2.2.0 / 2004-10-18
|
722
|
+
|
723
|
+
* 4 minor enhancements:
|
724
|
+
|
725
|
+
* Added LinuxJournalArticle.txt! WOOT!
|
726
|
+
* Added unit_diff.rb - a very cool filter for test output!
|
727
|
+
* Extended ZenTest to work with standard input
|
728
|
+
* Added "ZenTest FULL" to force ZenTest to analyze inherited methods, for subclasses of the standard library.
|
729
|
+
|
730
|
+
* 3 bug fixes:
|
731
|
+
|
732
|
+
* Extended makefile to be more dynamic and stop diffing versions. ugh.
|
733
|
+
* Expanded the method rename map to handle <<, *, +, and ==.
|
734
|
+
* Added more test cases.
|
735
|
+
|
736
|
+
=== 2.1.2 / 2004-03-08
|
737
|
+
|
738
|
+
* 4 bug fixes:
|
739
|
+
|
740
|
+
* Fixed yet another 1.8ism, results will be the same in 1.8 and 1.6.
|
741
|
+
* Fixed code responsible for method name conversion.
|
742
|
+
* I am a moron... didn't run tests after updating version.
|
743
|
+
* Need to convert my diff-based tests to unit tests.
|
744
|
+
|
745
|
+
=== 2.1.1 / 2004-03-06
|
746
|
+
|
747
|
+
* 3 bug fixes:
|
748
|
+
|
749
|
+
* Fixed a 1.8ism.
|
750
|
+
* Removed zentestrunner. Older ruby users will just have to suffer.
|
751
|
+
* Updated history to ZenWeb format.
|
752
|
+
|
753
|
+
=== 2.1.0 / 2003-01-07
|
754
|
+
|
755
|
+
* 3 major enhancements:
|
756
|
+
|
757
|
+
* Output is runnable as-is thanks to zentestrunner.rb.
|
758
|
+
* Wrapped up all running functionality into ZenTest.fix
|
759
|
+
* Added simple statistic output... Thanks Dave & Andy!!!
|
760
|
+
|
761
|
+
* 2 minor enhancements:
|
762
|
+
|
763
|
+
* Added zentestrunner.rb until Nathaniel accepts my changes!
|
764
|
+
* Added a clean rule to Makefile
|
765
|
+
|
766
|
+
* 3 bug fixes:
|
767
|
+
|
768
|
+
* Removed at_exit override and avoided test/unit altogether.
|
769
|
+
* Extended README.txt to include some of the rules.
|
770
|
+
* Fixed several tests and added assertions for new stats
|
771
|
+
|
772
|
+
=== 2.0.0 / 2002-10-29
|
773
|
+
|
774
|
+
* 2 major enhancements:
|
775
|
+
|
776
|
+
* Rewrite of ZenTest.rb into actual OO design.
|
777
|
+
* Added unit tests, finally...
|
778
|
+
|
779
|
+
=== 1.0.1 / 2002-09-28
|
780
|
+
|
781
|
+
* 1 minor enhancement:
|
782
|
+
|
783
|
+
* Only loads when a class is detected, allows some scripts to be skipped.
|
784
|
+
|
785
|
+
* 3 bug fixes:
|
786
|
+
|
787
|
+
* Cleaned up output. Verbose when $DEBUG is true.
|
788
|
+
* Added an error count that is output at end.
|
789
|
+
* Better filtering or conversion on some method names.
|
790
|
+
|
791
|
+
=== 1.0.0 / 2002-09-24
|
792
|
+
|
793
|
+
* 1 major enhancement:
|
794
|
+
|
795
|
+
* Birthday!
|