Upgrade to Test::Simple 0.60
[p5sagit/p5-mst-13.2.git] / lib / Test / Simple / Changes
CommitLineData
5143c659 10.60 Tue May 3 14:20:34 PDT 2005
2
30.59_01 Tue Apr 26 21:51:12 PDT 2005
4 * Test::Builder now has a create() method which allows you to create
5 a brand spanking new Test::Builder object.
6 * require_ok() was not working for single letter module names.
7 * is_deeply() and eq_* now work with circular scalar references
8 (Thanks Fergal)
9 * Use of eq_* now officially discouraged.
10 - Removed eq_* from the SYNOPSIS.
11 - is_deeply(undef, $not_undef); now works. [rt.cpan.org 9441]
12 - is_deeply() was mistakenly interpeting the same reference used twice
13 in a data structure as being circular causing failures.
14 [rt.cpan.org 11623]
15 - Loading Test::Builder but not using it would interfere with the
16 exit code if the code exited. [rt.cpan.org 12310]
17 - is_deeply() diagnostics now disambiguate between stringified references
18 and references. [rt.cpan.org 8865]
19 - Files opened by the output methods are now autoflushed.
20 - todo() now honors $Level when looking for $TODO.
21
0257f296 220.54 Wed Dec 15 04:18:43 EST 2004
23 * $how_many is optional for skip() and todo_skip(). Thanks to
24 Devel::Cover for pointing this out.
25 - Removed a user defined function called err() in the tests to placate
26 users of older versions of the dor patch before err() was weakend.
27 [rt.cpan.org 8734]
28
290.53_01 Sat Dec 11 19:02:18 EST 2004
30 - current_test() can now be set backward.
31 - *output() methods now handle tied handles and *FOO{IO} properly.
32 - maybe_regex() now handles undef gracefully.
33 - maybe_regex() now handles 'm,foo,' style regexes.
34 - sort_bug.t wasn't checking for threads properly. Would fail on
35 5.6 that had ithreads compiled in. [rt.cpan.org 8765]
36
7483b81c 370.53 Mon Nov 29 04:43:24 EST 2004
38 - Apparently its possible to have Module::Signature installed without
39 it being functional. Fixed the signature test to account for this.
40 (not a real bug)
41
420.52 Sun Nov 28 21:41:03 EST 2004
43 - plan() now better checks that the given plan is valid.
44 [rt.cpan.org 2597]
45
460.51_02 Sat Nov 27 01:25:25 EST 2004
47 * is_deeply() and all the eq_* functions now handle circular data
48 structures. [rt.cpan.org 7289]
49 * require_ok() now handles filepaths in addition to modules.
50 - Clarifying Test::More's position on overloaded objects
51 - Fixed a bug introduced in 0.51_01 causing is_deeply() to pierce
52 overloaded objects.
53 - Mentioning rt.cpan.org for reporting bugs.
54
550.51_01 Fri Nov 26 02:59:30 EST 2004
56 - plan() was accidentally exporting functions [rt.cpan.org 8385]
57 * diag @msgs would insert # between arguments. [rt.cpan.org 8392]
58 * eq_set() could cause problems under threads due to a weird sort bug
59 [rt.cpan.org 6782]
60 * undef no longer equals '' in is_deeply() [rt.cpan.org 6837]
61 * is_deeply() would sometimes compare references as strings.
62 [rt.cpan.org 7031]
63 - eq_array() and eq_hash() could hold onto references if they failed
64 keeping them in memory and preventing DESTROY. [rt.cpan.org 7032]
65 * is_deeply() could confuse [] with a non-existing value
66 [rt.cpan.org 7030]
67 - is_deeply() diagnostics a little off when scalar refs were inside
68 an array or hash ref [rt.cpan.org 7033]
69 - Thanks to Fergal Daly for ferretting out all these long standing
70 is_deeply and eq_* bugs.
71
720.51 Tue Nov 23 04:51:12 EST 2004
73 - Fixed bug in fail_one.t on Windows (not a real bug).
74 - TODO reasons as overloaded objects now won't blow up under threads.
75 [Autrijus Tang]
76 - skip() in 0.50 tickled yet another bug in threads::shared. Hacked
77 around it.
78
30e302f8 790.50 Sat Nov 20 00:28:44 EST 2004
7483b81c 80 - Fixed bug in fail-more test on Windows (not a real bug).
30e302f8 81 [rt.cpan.org 8022]
7483b81c 82 - Change from CVS to SVK. Hopefully this is the last time I move
83 version control systems.
30e302f8 84 - Again removing File::Spec dependency (came back in 0.48_02)
85 - Change from Aegis back to CVS
86
870.49 Thu Oct 14 21:58:50 EDT 2004
88 - t/harness_active.t would fail for frivolous reasons with older
89 MakeMakers (test bug) [thanks Bill Moseley for noticing]
90
910.48_02 Mon Jul 19 02:07:23 EDT 2004
92 * Overloaded objects as names now won't blow up under threads
93 [rt.cpan.org 4218 and 4232]
94 * Overloaded objects which stringify to undef used as test names
95 now won't cause internal uninit warnings. [rt.cpan.org 4232]
96 * Failure diagnostics now come out on their own line when run in
97 Test::Harness.
98 - eq_set() sometimes wasn't giving the right results if nested refs
99 were involved [rt.cpan.org 3747]
100 - isnt() giving wrong diagnostics and warning if given any undefs.
101 * Give unlike() the right prototype [rt.cpan.org 4944]
102 - Change from CVS to Aegis
103 - is_deeply() will now do some basic argument checks to guard against
104 accidentally passing in a whole array instead of its reference.
105 - Mentioning Test::Differences, Test::Deep and Bundle::Test.
106 - Removed dependency on File::Spec.
107 - Fixing the grammar of diagnostic outputs when only a single test
108 is run or failed (ie. "Looks like you failed 1 tests").
109 [Darren Chamberlain]
110
1110.48_01 Mon Nov 11 02:36:43 EST 2002
112 - Mention Test::Class in Test::More's SEE ALSO
113 * use_ok() now DWIM for version checks
114 - More problems with ithreads fixed.
115 * Test::Harness upgrade no longer optional. It was causing too
116 many problems when the T::H upgrade didn't work.
117 * Drew Taylor added a 'no_diag' option to Test::More to switch
118 off all diag() statements.
119 * Test::Builder/More no longer automatically loads threads.pm
120 when threads are enabled. The user must now do this manually.
121 * Alex Francis added reset() reset the state of Test::Builder in
122 persistent environments.
123 - David Hand noted that Test::Builder/More exit code behavior was
124 not documented. Only Test::Simple.
11ea77c5 125
60ffb308 1260.47 Mon Aug 26 03:54:22 PDT 2002
127 * Tatsuhiko Miyagawa noticed Test::Builder was accidentally storing
128 objects passed into test functions causing problems with tests
129 relying on object destruction.
130 - Added example of calculating the number of tests to Test::Tutorial
131 - Peter Scott made the ending logic not fire on child processes when
132 forking.
133 * Test::Builder is once again ithread safe.
134
1350.46 Sat Jul 20 19:57:40 EDT 2002
136 - Noted eq_set() isn't really a set comparision.
137 - Test fix, exit codes are broken on MacPerl (bleadperl@16868)
138 - Make Test::Simple install itself into the core for >= 5.8
139 - Small fixes to Test::Tutorial and skip examples
140 * Added TB->has_plan() from Adrian Howard
141 - Clarified the meaning of 'actual_ok' from TB->details
142 * Added TB->details() from chromatic
143 - Neil Watkiss fixed a pre-5.8 test glitch with threads.t
144 * If the test died before a plan, it would exit with 0 [ID 20020716.013]
145
a344be10 1460.45 Wed Jun 19 18:41:12 EDT 2002
147 - Andy Lester made the SKIP & TODO docs a bit clearer.
148 - Explicitly disallowing double plans. (RT #553)
149 - Kicking up the minimum version of Test::Harness to one that's
150 fairly bug free.
151 - Made clear a common problem with use_ok and BEGIN blocks.
152 - Arthur Bergman made Test::Builder thread-safe.
153
89c1e84a 1540.44 Thu Apr 25 00:27:27 EDT 2002
155 - names containing newlines no longer produce confusing output
156 (from chromatic)
157 - chromatic provided a fix so can_ok() honors can() overrides.
158 - Nick Ing-Simmons suggested todo_skip() be a bit clearer about
159 the skipping part.
160 - Making plan() vomit if it gets something it doesn't understand.
161 - Tatsuhiko Miyagawa fixed use_ok() with pragmata on older perls.
162 - quieting diag(undef)
163
1640.43 Thu Apr 11 22:55:23 EDT 2002
165 - Adrian Howard added TB->maybe_regex()
166 - Adding Mark Fowler's suggestion to make diag() return
167 false.
168 - TB->current_test() still not working when no tests were run via
169 TB itself. Fixed by Dave Rolsky.
170
6686786d 1710.42 Wed Mar 6 15:00:24 EST 2002
172 - Setting Test::Builder->current_test() now works (see what happens
173 when you forget to test things?)
174 - The change in is()'s undef/'' handling in 0.34 was an API change,
175 but I forgot to declare it as such.
176 - The apostrophilic jihad attacks! Philip Newtons patch for
177 grammar mistakes in the doc's.
178
a9153838 1790.41 Mon Dec 17 22:45:20 EST 2001
180 * chromatic added diag()
181 - Internal eval()'s sometimes interfering with $@ and $!. Fixed.
182
1830.40 Fri Dec 14 15:41:39 EST 2001
184 * isa_ok() now accepts unblessed references gracefully
185 - Nick Clark found a bug with like() and a regex with % in it.
186 - exit.t was hanging on 5.005_03 VMS perl. Test now skipped.
187 - can_ok() would pass if no methods were given. Now fails.
188 - isnt() diagnostic output format changed
189 * Added some docs about embedding and extending Test::More
190 * Added Test::More->builder
191 * Added cmp_ok()
192 * Added todo_skip()
193 * Added unlike()
194 - Piers pointed out that sometimes people override isa().
195 isa_ok() now accounts for that.
196
1970.36 Thu Nov 29 14:07:39 EST 2001
198 - Matthias Urlichs found that intermixed prints to STDOUT and test
199 output came out in the wrong order when piped.
200
2010.35 Tue Nov 27 19:57:03 EST 2001
202 - Little glitch in the test suite. No actual bug.
203
2040.34 Tue Nov 27 15:43:56 EST 2001
6686786d 205 * **API CHANGE** Empty string no longer matches undef in is()
206 and isnt().
a9153838 207 * Added isnt_eq and isnt_num to Test::Builder.
208
4bd4e70a 2090.33 Mon Oct 22 21:05:47 EDT 2001
210 * It's now officially safe to redirect STDOUT and STDERR without
211 affecting test output.
212 - License and POD cleanup by Autrijus Tang
213 - Synched up Test::Tutorial with the wiki version
214 - Minor VMS test nit.
215
33459055 2160.32 Tue Oct 16 16:52:02 EDT 2001
217 * Finally added a seperate plan() function
218 * Adding a name field to isa_ok()
219 (Requested by Dave Rolsky)
220 - Test::More was using Carp.pm, causing the occasional false positive.
221 (Reported by Tatsuhiko Miyagawa)
222
2230.31 Mon Oct 8 19:24:53 EDT 2001
224 * Added an import option to Test::More
225 * Added no_ending and no_header options to Test::Builder
226 (Thanks to Dave Rolsky for giving this a swift kick in the ass)
227 * Added is_deeply(). Display of scalar refs not quite 100%
228 (Thanks to Stas Bekman for Apache::TestUtil idea thievery)
229 - Fixed a minor warning with skip()
230 (Thanks to Wolfgang Weisselberg for finding this one)
231
2320.30 Thu Sep 27 22:10:04 EDT 2001
233 * Added Test::Builder
4bd4e70a 234 (Thanks muchly to chromatic for getting this off the ground!)
33459055 235 * Diagnostics are back to using STDERR *unless* it's from a todo
236 test. Those go to STDOUT.
237 - Fixed it so nothing is printed if a test is run with a -c flag.
238 Handy when a test is being deparsed with B::Deparse.
239
2400.20 *UNRELEASED*
241
0cd946aa 2420.19 Tue Sep 18 17:48:32 EDT 2001
243 * Test::Simple and Test::More no longer print their diagnostics
244 to STDERR. It instead goes to STDOUT.
245 * TODO tests which fail now print full failure diagnostics.
246 - Minor bug in ok()'s test name diagnostics made it think a blank
247 name was a number.
248 - ok() less draconian about test names
249 - Added temporary special case for Parrot::Test
250 - Now requiring File::Spec for our tests.
251
d020a79a 2520.18 Wed Sep 5 20:35:24 EDT 2001
253 * ***API CHANGE*** can_ok() only counts as one test
254 - can_ok() has better diagnostics
255 - Minor POD fixes from mjd
256 - adjusting the internal layout to make it easier to put it into
257 the core
258
2590.17 Wed Aug 29 20:16:28 EDT 2001
260 * Added can_ok() and isa_ok() to Test::More
261
2620.16 Tue Aug 28 19:52:11 EDT 2001
263 * vmsperl foiled my sensisble exit codes. Reverting to a much more
264 coarse scheme.
265
2660.15 Tue Aug 28 06:18:35 EDT 2001 *UNRELEASED*
267 * Now using sensible exit codes on VMS.
268
2690.14 Wed Aug 22 17:26:28 EDT 2001
270 * Added a first cut at Test::Tutorial
271
2720.13 Tue Aug 14 15:30:10 EDT 2001
273 * Added a reason to the skip_all interface
274 - Fixed a bug to allow 'use Test::More;' to work.
275 (Thanks to Tatsuhiko Miyagawa again)
276 - Now always testing backwards compatibility.
277
2780.12 Tue Aug 14 11:02:39 EDT 2001
279 * Fixed some compatibility bugs with older Perls
280 (Thanks to Tatsuhiko Miyagawa)
281
2820.11 Sat Aug 11 23:05:19 EDT 2001
283 * Will no longer warn about testing undef values
284 - Escaping # in test names
285 - Ensuring that ok() returns true or false and not undef
286 - Minor doc typo in the example
287
2880.10 Tue Jul 31 15:01:11 EDT 2001
289 * Test::More is now distributed in this tarball.
290 * skip and todo tests work!
291 * Extended use_ok() so it can import
292 - A little internal rejiggering
293 - Added a TODO file
294
11ea77c5 2950.09 Wed Jun 27 02:55:54 EDT 2001
296 - VMS fixes
297
2980.08 Fri Jun 15 14:39:50 EDT 2001
299 - Guarding against $/ and -l
300 - Reformatted the way failed tests are reported to make them stand out
301 a bit better.
302
3030.07 Tue Jun 12 15:55:54 BST 2001
304 - 'use Test::Simple' by itself no longer causes death
305 - Yet more fixes for death in eval
306 - Limiting max failures reported via exit code to 254.
307
3080.06 Wed May 9 23:38:17 BST 2001
309 - Whoops, left a private method in the public docs.
310
3110.05 Wed May 9 20:40:35 BST 2001
312 - Forgot to include the exit tests.
313 - Trouble with exiting properly under 5.005_03 and 5.6.1 fixed
314 - Turned off buffering
315 * 5.004 new minimum version
316 - Now explicitly tested with 5.6.1, 5.6.0, 5.005_03 and 5.004
317
3180.04 Mon Apr 2 11:05:01 BST 2001
319 - Fixed "require Test::Simple" so it doesn't bitch and exit 255
320 - Now installable with the CPAN shell.
321
3220.03 Fri Mar 30 08:08:33 BST 2001
323 - ok() now prints on what line and file it failed.
324 - eval 'die' was considered abnormal. Fixed.
325
3260.02 Fri Mar 30 05:12:14 BST 2001 *UNRELEASED*
327 - exit codes tested
328 * exit code on abnormal exit changed to 255 (thanks to Tim Bunce for
329 pointing out that Unix can't do negative exit codes)
330 - abnormal exits now better caught.
331 - No longer using Test.pm to test this, but still minimum of 5.005
332 due to needing $^S.
333
3340.01 Wed Mar 28 06:44:44 BST 2001
335 - First working version released to CPAN
336