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