Commit | Line | Data |
b965d173 |
1 | Revision history for Test-Harness |
2 | |
f7c69158 |
3 | 3.13 2008-07-27 |
4 | - fixed various closure related leaks |
5 | - made prove honour HARNESS_TIMER |
6 | - Applied patches supplied by Alex Vandiver |
7 | - add 'rules' switch to prove: allows parallel execution rules |
8 | to be specified on the command line. |
9 | - allow '**' (any path) wildcard in parallel rules |
10 | - fix bug report address |
11 | - make tprove_gtk example work again. |
12 | |
13 | 3.12 2008-06-22 |
14 | - applied Steve Purkis' huge refactoring patch which adds |
15 | configurable factories for most of the major internal classes. |
16 | - applied David Wheeler's patch to allow exec to be a code |
17 | reference. |
18 | - made tests more robust in the presence of -MFoo in PERL5OPT. |
19 | |
20 | 3.11 2008-06-09 |
21 | - applied Jim Keenan's patch that makes App::Prove::run return a |
22 | rather than exit (#33609) |
23 | - prove -r now recurses cwd rather than 't' by default (#33007) |
24 | - restored --ext switch to prove (#33848) |
25 | - added ignore_exit option to TAP::Parser and corresponding |
26 | interfaces to TAP::Harness and Test::Harness. Requested for |
27 | Parrot. |
28 | - Implemented rule based parallel scheduler. |
29 | - Moved filename -> display name mapping out of formatter. This |
30 | prevents the formatter's strip-extensions logic from stripping |
31 | extensions from supplied descriptions. |
32 | - Only strip extensions from test names if all tests have the |
33 | same extension. Previously we stripped extensions if all names |
34 | had /any/ extension making it impossible to distinguish tests |
35 | whose name differed only in the extension. |
36 | - Removed privacy test that made it impossible to subclass |
37 | TAP::Parser. |
38 | - Delayed initialisation of grammar making it easier to replace |
39 | the TAP::Parser stream after instantiation. |
40 | - Make it possible to supply import parameters to a replacement |
41 | harness with prove. |
42 | - Make it possible to replace either _grammar /or/ _stream |
43 | before reading from a TAP::Parser. |
44 | |
45 | 3.10 2008-02-26 |
46 | - fix undefined value warnings with bleadperl. |
47 | - added pragma support. |
48 | - fault unknown TAP tokens under strict pragma. |
49 | |
50 | 3.09 2008-02-10 |
51 | - support for HARNESS_PERL_SWITCHES containing things like |
52 | '-e "system(shift)"'. |
53 | - set HARNESS_IS_VERBOSE during verbose testing. |
54 | - documentation fixes. |
55 | |
56 | 3.08 2008-02-08 |
57 | - added support for 'out' option to |
58 | Test::Harness::execute_tests. See #32476. Thanks RENEEB. |
59 | - Fixed YAMLish handling of non-alphanumeric hash keys. |
60 | - Added --dry option to prove for 2.64 compatibility. |
61 | |
62 | 3.07 2008-01-13 |
53bc175b |
63 | - prove now supports HARNESS_PERL_SWITCHES. |
64 | - restored TEST_VERBOSE to prove. |
65 | |
66 | 3.06 2008-01-01 |
69f36734 |
67 | - Skip t/unicode.t if PERL_UNICODE set. Fixes #31731. |
68 | Thanks Lukas. |
69 | - App::Prove::State no longer complains about tests that |
70 | are deleted. |
71 | - --state=new and --state=old now consider the modification time |
72 | of test scripts. |
53bc175b |
73 | - Made test suite core-compatible. |
69f36734 |
74 | |
b965d173 |
75 | 3.05 2007-12-09 |
76 | - Skip unicode.t if Encode unavailable |
77 | - Support for .proverc files. |
78 | - Clarified prove documentation. |
79 | |
80 | 3.04 2007-12-02 |
81 | - Fixed output leakage with really_quiet set. |
82 | - Progress reports for tests without plans now show |
83 | "143/?" instead of "143/0". |
84 | - Made TAP::Harness::runtests support aliases for test names. |
85 | - Made it possible to pass command line args to test programs |
86 | from prove, TAP::Harness, TAP::Parser. |
87 | - Added --state switch to prove. |
88 | |
89 | 3.03 2007-11-17 |
90 | - Fixed some little bugs-waiting-to-happen inside |
91 | TAP::Parser::Grammar. |
92 | - Added parser_args callback to TAP::Harness. |
93 | - Made @INC propagation even more compatible with 2.64 so that |
94 | parrot still works *and* #30796 is fixed. |
95 | |
96 | 3.02 2007-11-15 |
97 | - Process I/O now unbuffered, uses sysread, plays better with |
98 | select. Fixes #30740. |
99 | - Made Test::Harness @INC propagation more compatible with 2.64. |
100 | Was breaking Parrot's test suite. |
101 | - Added HARNESS_OPTIONS (#30676) |
102 | |
103 | 3.01 2007-11-12 |
104 | - Fix for RHEL incpush.patch related failure. |
105 | - Output real time of test completion with --timer |
106 | - prove -b adds blib/auto to @INC |
107 | - made SKIP plan parsing even more liberal for pre-v13 TAP |
108 | |
109 | 3.00 2007-11-06 |
110 | - Non-dev release. No changes since 2.99_09. |
111 | |
112 | 2.99_09 2007-11-05 |
113 | - Implemented TODO-in-PLAN syntax for TAP version 12 and earlier. |
114 | |
115 | 2.99_08 2007-11-04 |
116 | - Tiny changes. New version pushed to get some smoke coverage. |
117 | |
118 | 2.99_07 2007-11-01 |
119 | - Fix for #21938: Unable to handle circular links |
120 | - Fix for #24926: prove -b and -l should use absolute paths |
121 | - Fixed prove switches. Big oops. How the hell did we miss that? |
122 | - Consolidated quiet, really_quiet, verbose into verbosity. |
123 | - Various VMS related fixes to tests |
124 | |
125 | 2.99_06 2007-10-30 |
126 | - Added skip_all method to TAP::Parser. |
127 | - Display reason for skipped tests. |
128 | - make test now self tests. |
129 | |
130 | 2.99_05 2007-10-30 |
131 | - Fix for occasional rogue -1 exit code on Windows. |
132 | - Fix for @INC handling under CPANPLUS. |
133 | - Added real time to prove --timer output |
134 | - Improved prove error message in case where 't' not found and |
135 | no tests named. |
136 | |
137 | 2.99_04 2007-10-11 |
138 | - Fixed bug where 'All tests successful' would not be printed if bonus |
139 | tests are seen. |
140 | - Fixed bug where 'Result: FAIL' would be printed at the end of a test |
141 | run if there were unexpectedly succeeding tests. |
142 | - Added -M, -P switches to allow arbitrary modules to be loaded |
143 | by prove. We haven't yet defined what they'll do once they |
144 | load but it's a start... |
145 | - Added testing under simulated non-forking platforms. |
146 | |
147 | 2.99_03 2007-10-06 |
148 | - Refactored all display specific code out of TAP::Harness. |
149 | - Relaxed strict parsing of skip plan for pre v13 TAP. |
150 | - Elapsed hi-res time is now displayed in integer milliseconds |
151 | instead of fractional seconds. |
152 | - prove stops running if any command-line switches are invalid. |
153 | - prove -v would try to print an undef. |
154 | - Added support for multiplexed and forked parallel tests. Use |
155 | prove -j 9 to run tests in parallel and prove -j 9 --fork to |
156 | fork. These features are experimental and currently |
157 | unavailable on Windows. |
158 | - Rationalized the management of the environment that we give to |
159 | test scripts (PERL5LIB, PERL5OPT, switches). |
160 | - Fixed handling of STDIN (we no longer close it) for test |
161 | scripts. |
162 | - Performance enhancements. Parser is now 30% - 40% faster. |
163 | |
164 | 2.99_02 2007-09-07 |
165 | - Ensure prove (and App::Prove) sort any recursively |
166 | discovered tests |
167 | - It is now possible to register multiple callback handlers for |
168 | a particular event. |
169 | - Added before_runtests, after_runtests callbacks to |
170 | TAP::Harness. |
171 | - Moved logic of prove program into App::Prove. |
172 | - Added simple machine readable summary. |
173 | - Performance improvement: The processing pipeline within |
174 | TAP::Parser is now a closure which speeds up access to the |
175 | various attribtes it needs. |
176 | - Performance improvement: Test count spinner now updates |
177 | exponentially less frequently as the count increases which |
178 | saves a lot of I/O on big tests. |
179 | - More improvements in test coverage from Leif. |
180 | - Fixes to TAP spooling - now captures YAML blocks correctly. |
181 | - Fix YAMLish handling of empty arrays, hashes. |
182 | - Renamed TAP::Harness::Compatible to Test::Harness, |
183 | runtests to prove. |
184 | - Fixes to @INC handling. We didn't always pass the correct path |
185 | to subprocesses. |
186 | - We now observe any switches in HARNESS_PERL_SWITCHES. |
187 | - Changes to output formatting for greater compatibility with |
188 | Test::Harness 2.64. |
189 | - Added unicode test coverage and fixed a couple of |
190 | unicode issues. |
191 | - Additions to documentation. |
192 | - Added support for non-forking Perls. If forking isn't |
193 | available we fall back to open and disable stream merging. |
194 | - Added support for simulating non-forking Perls to improve our |
195 | test coverage. |
196 | |
197 | ======================================================================== |
198 | Version numbers below this point relate to TAP::Parser - which was the |
199 | name of this version of Test::Harness during its development. |
200 | ======================================================================== |
201 | |
202 | 0.54 |
203 | - Optimized I/O for common case of 'runtests -l' |
204 | - Croak if supplied an empty (0 lines) Perl script. |
205 | - Made T::P::Result::YAML return literal input YAML correctly. |
206 | - Merged speed-ups from speedy branch. |
207 | |
208 | 0.53 18 August 2007 |
209 | - Fixed a few docs nits. |
210 | - Added -V (--version) switch to runtests. Suggested by markjugg on |
211 | Perlmonks. |
212 | - Fixed failing t/030-grammer.t under 5.9.5. Exact cause still |
213 | unknown; something to do with localisation of $1 et all I think. |
214 | - Fixed use of three arg open in t/compat/test-harness-compat; was |
215 | failing on 5.6.2. |
216 | - Fixed runtests --exec option. T::H wasn't passing the exec option |
217 | to T::P. |
218 | - Merged Leif Eriksen's coverage enhancing changes to |
219 | t/080-aggregator.t, t/030-grammar.t |
220 | - Made various changes so that we test cleanly on 5.0.5. |
221 | - Many more coverage enhancements by Leif. |
222 | - Applied Michael Peters' patch to add an EOF callback to |
223 | TAP::Parser. |
224 | - Added --reverse option to runtests to run tests in reverse order. |
225 | - Made runtests exit with non-zero status if the test run had |
226 | problems. |
227 | - Stopped TAP::Parser::Iterator::Process from trampling on STDIN. |
228 | |
229 | 0.52 14 July 2007 |
230 | - Incorporate Schwern's investigations into TAP versions. |
231 | Unversioned TAP is now TAP v12. The lowest explicit version number |
232 | that can be specified is 13. |
233 | - Renumbered tests to eliminate gaps. |
234 | - Killed execrc. The '--exec' switch to runtests handles all of this for |
235 | us. |
236 | - Refactored T::P::Iterator into |
237 | T::P::Iterator::(Array|Process|Stream) so that we have a |
238 | process specific iterator with which to experiment with |
239 | STDOUT/STDERR merging. |
240 | - Removed vestigial exit status handling from T::P::I::Stream. |
241 | - Removed unused pid interface from T::P::I::Process. |
242 | - Fixed infinite recursion in T::P::I::Stream and added regression |
243 | coverage for same. |
244 | - Added tests for T::P::I::Process. |
245 | - TAP::Harness now displays the first five TAP syntax errors and |
246 | explains how to pass the -p flag to runtests to see them all. |
247 | - Added merge option to TAP::Parser::Iterator::Process, |
248 | TAP::Parser::Source, TAP::Parser and TAP::Harness. |
249 | - Added --merge option to runtests to enable STDOUT/STDERR merging. |
250 | This behaviour used to be the default. |
251 | - Made T::P::I::Process use open3 for both merged and non-merged |
252 | streams so that it works on Windows. |
253 | - Implemented Eric Wilhelm's IO::Select based multiple stream |
254 | handler so that STDERR is piped to us even if stream merging is |
255 | turned off. This tends to reduce the temporal skew between the |
256 | two streams so that error messages appear closer to their |
257 | correct location. |
258 | - Altered the T::P::Grammar interface so that it gets a stream |
259 | rather than the next line from the stream in preparation for |
260 | making it handle YAML diagnostics. |
261 | - Implemented YAML syntax. Currently YAML may only follow a |
262 | test result. The first line of YAML is '---' and the last |
263 | line is '...'. |
264 | - Made grammar version-aware. Different grammars may now be selected |
265 | depending on the TAP version being parsed. |
266 | - Added formatter delegate mechanism for test results. |
267 | - Added prototype stream based YAML(ish) parser. |
268 | - Added more tests for T::P::YAMLish |
269 | - Altered T::P::Grammar to use T::P::YAMLish |
270 | - Removed T::P::YAML |
271 | - Added raw source capture to T::P::YAMLish |
272 | - Added support for double quoted hash keys |
273 | - Added TAP::Parser::YAMLish::Writer and renamed T::P::YAMLish as |
274 | T::P::YAMLish::Reader. |
275 | - Added extra TAP::Parser::YAMLish::Writer output options |
276 | - Inline YAML documents must now be indented by at least one space |
277 | - Fixed broken dependencies in bin/prove |
278 | - Make library paths absolute before running tests in case tests |
279 | chdir before loading modules. |
280 | - Added libs and switches handling to T::H::Compatible. This and the |
281 | previous change fix [24926] |
282 | - Added PERLLIB to libraries stripped in _default_inc [12030] |
283 | - Our version of prove now handles directories containing circular |
284 | links correctly [21938] |
285 | - Set TAP_VERSION env var in Parser [11595] |
286 | - Added setup, teardown hooks to T::P::I::Process to facilitate the |
287 | setup and cleanup of the test script's environment |
288 | - Any additional libs added to the command line are also added to |
289 | PERL5LIB for the duration of a test run so that any Perl children |
290 | of the test script inherit the same library paths. |
291 | - Fixed handling of single quoted hash keys in T::P::Y::Reader |
292 | - Made runtests return the TAP::Parser::Aggregator |
293 | - Fixed t/120-harness.t has failures if TAP::Harness::Color cannot |
294 | load optional modules [27125] - thanks DROLSKY |
295 | - Fixed parsing of \# in test description |
296 | 0.51 12 March 2007 |
297 | - 'execrc' file now allows 'regex' matches for tests. |
298 | - rename 'TAPx' --> 'TAP' |
299 | - Reimplemented the parse logic of TAP::Parser as a state machine. |
300 | - Removed various ad-hoc state variables from TAP::Parser and moved |
301 | their logic into the state machine. |
302 | - Removed now-unused is_first / is_last methods from Iterator and |
303 | simplified remaining logic to suit. |
304 | - Removed now-redundant t/140-varsource.t. |
305 | - Implemented TAP version syntax. |
306 | - Tidied TAP::Harness::Compatible documentation |
307 | - Removed redundant modules below TAP::Harness::Compatible |
308 | - Removed unused compatibility tests |
309 | |
310 | 0.50_07 5 March 2007 |
311 | - Fixed bug where we erroneously checked the test number instead of number |
312 | of tests run to determine if we've run more tests than we planned. |
313 | - Add a --directives switch to 'runtests' which only shows test results |
314 | with directives (such as 'TODO' or 'SKIP'). |
315 | - Removed some dead code from TAPx::Parser. |
316 | - Added color support for Windows using Win32::Console. |
317 | - Made Color::failure_output reset colors before printing |
318 | the trailing newline. |
319 | - Corrected some issues with the 'runtests' docs and removed some |
320 | performance notes which no longer seem accurate. |
321 | - Fixed bug whereby if tests without file extensions were included then |
322 | the spacing of the result leaders would be off. |
323 | - execrc file is now a YAML file. |
324 | - Removed white background on the test failures. It was too garish for |
325 | me. Just more proof that we need better ways of overriding color |
326 | support. |
327 | - Started work on TAPx::Harness::Compatible. Right now it's mainly just |
328 | a direct lift of Test::Harness to make sure the tests work. |
329 | - Commented out use Data::Dumper::Simple in T::Harness.pm - it's not |
330 | a core module. |
331 | - Added next_raw to TAPx::Parser::Iterator which skips any fixes for |
332 | quirky TAP that are implemented by next. Used to support |
333 | TAPx::Harness::Compatible::Iterator |
334 | - Applied our version number to all T::H::Compatible modules |
335 | - Removed T::H::C::Assert. It's documented as being private to |
336 | Test::Harness and we're not going to need it. |
337 | - Refactored runtests to call aggregate_tests to expose the |
338 | interface we need for the compatibility layer. |
339 | - Make it possible to pass an end time to summary so that it needn't |
340 | be called immediately after the tests complete. |
341 | - Moved callback handling into TAPx::Base and altered TAPx::Parser |
342 | to use it. |
343 | - Made TAPx::Harness into a subclass of TAPx::Base and implemented |
344 | made_parser callback. |
345 | - Moved the dispatch of callbacks out of run and into next so that |
346 | they're called when TAPx::Harness iterates through the results. |
347 | - Implemented PERL_TEST_HARNESS_DUMP_TAP which names a directory |
348 | into which the raw TAP of any tests run via TAPx::Harness will |
349 | be written. |
350 | - Rewrote the TAPx::Grammar->tokenize method to return a |
351 | TAPx::Parser::Result object. Code is much cleaner now. |
352 | - Moved the official grammar from TAPx::Parser to TAPx::Parser::Grammar, |
353 | provided a link and updated the grammar. |
354 | - Fixed bug where a properly escaped '# TODO' line in a test description |
355 | would still be reported as a TODO test. |
356 | - Added patches/ExtUtils-MakeMaker-6.31.patch - a patch against EUMM |
357 | that makes test_harness use TAPx::Harness instead of Test::Harness |
358 | if PERL_EUMM_USE_TAPX is true and TAPx::Harness is installed. In |
359 | other words cause 'make test' for EUMM based models to use |
360 | TAPx::Harness. |
361 | - Added support for timer option to TAPx::Harness which causes the |
362 | elapsed time for each test to be displayed. |
363 | - Setup tapx-dev@hexten.net mailing list. |
364 | - Fixed accumulating @$exec bug in TAPx::Harness. |
365 | - Made runtests pass '--exec' option as an array. |
366 | - (#24679) TAPx::Harness now reports failure for tests that die |
367 | after completing all subtests. |
368 | - Added in_todo attribute on TAPx::Parser which is true while the |
369 | most recently seen test was a TODO. |
370 | - (#24728) TAPx::Harness now supresses diagnostics from failed |
371 | TODOs. Not sure if the semantics of this are correct yet. |
372 | |
373 | 0.50_06 18 January 2007 |
374 | - Fixed doc typo in examples/README [rt.cpan.org #24409] |
375 | - Colored test output is now the default for 'runtests' unless |
376 | you're running under windows or -t STDOUT is false. |
377 | [rt.cpan.org #24310] |
378 | - Removed the .t extension from t/source_tests/*.t since those are |
379 | 'test tests' which caused false negatives when running recursive |
380 | tests. [Adrian Howard] |
381 | - Somewhere along the way, the exit status started working again. |
382 | Go figure. |
383 | - Factored color output so that disabling it under Windows is |
384 | cleaner. |
385 | - Added explicit switch to :crlf layer after open3 under Windows. |
386 | open3 defaults to raw mode resulting in spurious \r characters input |
387 | parsed input. |
388 | - Made Iterator do an explicit wait for subprocess termination. |
389 | Needed to get process status correctly on Windows. |
390 | - Fixed bug which didn't allow t/010-regression.t to be run directly |
391 | via Perl unless you specified Perl's full path. |
392 | - Removed SIG{CHLD} handler (which we shouldn't need I think because |
393 | we explicitly waitpid) and made binmode ':crlf' conditional on |
394 | IS_WIN32. On Mac OS these two things combined to expose a problem |
395 | which meant that output from test scripts was sometimes lost. |
396 | - Made t/110-source.t use File::Spec->catfile to build path to |
397 | test script. |
398 | - Made Iterator::FH init is_first, is_last to 0 rather than undef |
399 | for consistency with array iterator. |
400 | - Added t/120-varsource.t to test is_first and is_last semantics |
401 | over files with small numbers of lines. |
402 | - Added check for valid callback keys. |
403 | - Added t/130-results.t for Result classes. |
404 | |
405 | 0.50_05 15 January 2007 |
406 | - Removed debugging code accidentally left in bin/runtests. |
407 | - Removed 'local $/ = ...' from the iterator. Hopefully that will fix the |
408 | line ending bug, but I don't know about the wstat problem. |
409 | |
410 | 0.50_04 14 January 2007 |
411 | - BACKWARDS IMCOMPATIBLE: Renamed all '::Results' classes to '::Result' |
412 | because they represent a single result. |
413 | - Fixed bug where piping would break verbose output. |
414 | - IPC::Open3::open3 now takes a @command list rather than a $command |
415 | string. This should make it work under Windows. |
416 | - Added 'stdout_sterr' sample test back to regression tests. IPC::Open3 |
417 | appears to make it work. |
418 | - Bug fix: don't print 'All tests successful' if no tests are run. |
419 | - Refactored 'runtests' to make it a bit easier to follow. |
420 | - Bug fix: Junk and comments now allowed before a leading plan. |
421 | - HARNESS_ACTIVE and HARNESS_VERSION environment variables now set. |
422 | - Renamed 'problems' in TAPx::Parser and TAPx::Aggregator to |
423 | 'has_problems'. |
424 | |
425 | 0.50_03 08 January 2007 |
426 | |
427 | - Fixed bug where '-q' or '-Q' with colored tests weren't suppressing all |
428 | information. |
429 | - Fixed an annoying MANIFEST nit. |
430 | - Made '-h' for runtests now report help. Using a new harness requires |
431 | the full --harness switch. |
432 | - Added 'problems' method to TAPx::Parser and TAPx::Parser::Aggregator. |
433 | - Deprecatd 'todo_failed' in favor of 'todo_passed' |
434 | - Add -I switch to runtests. |
435 | - Fixed runtests doc nit (smylers) |
436 | - Removed TAPx::Parser::Builder. |
437 | - A few more POD nits taken care of. |
438 | - Completely removed all traces of C<--merge> as IPC::Open3 seems to be |
439 | working. |
440 | - Moved the tprove* examples to examples/bin in hopes of them no longer |
441 | showing up in CPAN's docs. |
442 | - Made the 'unexpectedly succeeded' message clearer (Adam Kennedy) |
443 | |
444 | 0.50_02 06 January 2007 |
445 | - Added some files I left out of the manifest (reported by Florian |
446 | Ragwitz). |
447 | - Added strict to Makefile.PL and changed @PROGRAM to @program (reported |
448 | Florian Ragwitz). |
449 | |
450 | 0.50_01 06 January 2007 |
451 | - Added a new example which shows to how test Perl, Ruby, and URLs all at |
452 | the same time using 'execrc' files. |
453 | - Fixed the diagnostic format mangling bug. |
454 | - We no longer override Test::Builder to merge streams. Instead, we go |
455 | ahead and use IPC::Open3. It remains to be seen whether or not this is |
456 | a good idea. |
457 | - Fixed vms nit: for failing tests, vms often has the 'not' on a line by |
e4fc8a1e |
458 | itself. |
b965d173 |
459 | - Fixed bugs where unplanned tests were not reporting as a failure (test |
460 | number greater than tests planned). |
461 | - TAPx::Parser constructor can now take an 'exec' option to tell it what |
462 | to execute to create the stream (huge performance boost). |
463 | - Added TAPx::Parser::Source. This allows us to run tests in just about |
464 | any programming language. |
465 | - Renamed the filename() method to source() in TAPx::Parser::Source::Perl. |
466 | - We now cache the @INC values found for TAPx::Parser::Source::Perl. |
467 | - Added two test harnesses, TAPx::Harness and TAPx::Harness::Color. |
468 | - Removed references to manual stream construction from TAPx::Parser |
469 | documentation. Users should not (usually) need to worry about streams. |
470 | - Added bin/runtests utility. This is very similar to 'prove'. |
471 | - Renumbered tests to make it easier to add new ones. |
472 | - Corrected some minor documentation nits. |
473 | - Makefile.PL is no longer auto-generated (it's built by hand). |
474 | - Fixed regression test bug where driving tests through the harness I'm |
475 | testing caused things to break. |
476 | - BUG: exit() values are now broken. I don't know how to capture them |
477 | with IPC::Open3. However, since no one appears to be using them, this |
478 | might not be an issue. |
479 | |
480 | 0.41 12 December 2006 |
481 | - Fixed (?) 10-regression.t test which failed on Windows. Removed the |
482 | segfault test as it has no meaning on Windows. Reported by PSINNOTT |
483 | <link@redbrick.dcu.ie> and fix recommended by Schwern based on his |
484 | Test::Harness experience. |
485 | http://rt.cpan.org/Ticket/Display.html?id=21624 |
486 | |
487 | 0.40 05 December 2006 |
488 | - Removed TAPx::Parser::Streamed and folded its functionality into |
489 | TAPx::Parser. |
490 | - Fixed bug where sometimes is_good_plan() would return a false positive |
491 | (exposed by refactoring). |
492 | - A number of tiny performance enhancements. |
493 | |
494 | 0.33 22 September 2006 |
495 | - OK, I'm getting ticked off by some of the comments on Perl-QA so I |
496 | rushed this out the door and broke it :( I'm backing out one test and |
497 | slowing down a bit. |
498 | |
499 | 0.32 22 September 2006 |
500 | - Applied patch from Schwern which fixed the Builder package name (TAPx:: |
501 | instead of TAPX:: -- stupid case-insensitive package names!). |
502 | [rt.cpan.org #21605] |
503 | |
504 | 0.31 21 September 2006 |
505 | - Fixed bug where Carp::croak without parens could cause Perl to fail to |
506 | compile on some platforms. [Andreas J. Koenig] |
507 | - Eliminated the non-portable redirect of STDERR to STDOUT (2>&1) and |
508 | fixed the synchronization issue. This involves overridding |
509 | Test::Builder::failure_output() in a very sneaky way. I may have to |
510 | back this out. |
511 | - Renamed boolean methods to begin with 'is_'. The methods they replace |
512 | are documented, deprecated, and will not be removed prior to version |
513 | 1.00. |
514 | |
515 | 0.30 17 September 2006 |
516 | - Fixed bug where no output would still claim to have a good plan. |
517 | - Fixed bug where no output would cause parser to die. |
518 | - Fixed bug where failing to specify a plan would be two parse errors |
519 | instead of one. |
520 | - Fixed bug where a correct plan count in an incorrect place would still |
521 | report as a 'good_plan'. |
522 | - Fixed bug where comments could accidently be misparsed as directives. |
523 | - Eliminated testing of internal structure of result objects. The other |
524 | tests cover this. |
525 | - Allow hash marks in descriptions. This was causing a problem because |
526 | many test suites (Regexp::Common and Perl core) allowed them to exist. |
527 | - Added support for SKIP directives in plans. |
528 | - Did some work simplifying &TAPx::Parser::_initialize. It's not great, |
529 | but it's better than it was. |
530 | - TODO tests now always pass, regardless of actual_passed status. |
531 | - Removed 'use warnings' and now use -w |
532 | - 'switches' may now be passed to the TAPx::Parser constructor. |
533 | - Added 'exit' status. |
534 | - Added 'wait' status. |
535 | - Eliminated 'use base'. This is part of the plan to make TAPx::Parser |
536 | compatible with older versions of Perl. |
537 | - Added 'source' key to the TAPx::Parser constructor. Making new parsers |
538 | is now much easier. |
539 | - Renamed iterator first() and last() methods to is_first() and is_last(). |
540 | Credit: Aristotle. |
541 | - Planned tests != tests run is now a parse error. It was really stupid |
542 | of me not to do that in the first place. |
543 | - Added massive regression test suite in t/100-regression.t |
544 | - Updated the grammar to show that comments are allowed. |
545 | - Comments are now permitted after an ending plan. |
546 | |
547 | 0.22 13 September 2006 |
548 | - Removed buggy support for multi-line chunks from streams. If your |
549 | streams or iterators return anything but single lines, this is a bug. |
550 | - Fixed bug whereby blank lines in TAP would confuse the parser. Reported |
551 | by Torsten Schoenfeld. |
552 | - Added first() and last() methods to the iterator. |
553 | - TAPx::Parser::Source::Perl now has a 'switches' method which allows |
554 | switches to be passed to the perl executable running the test file. |
555 | This allows tprove to accept a '-l' argument to force lib/ to be |
556 | included in Perl's @INC. |
557 | |
558 | 0.21 8 September 2006 |
559 | - Included experimental GTK interface written by Torsten Schoenfeld. |
560 | - Fixed bad docs in examples/tprove_color |
561 | - Applied patch from Shlomi Fish fixing bug where runs from one stream |
562 | could leak into another when bailing out. [rt.cpan.org #21379] |
563 | - Fixed some typos in the POD. |
564 | - Corrected the grammar to allow for a plan of "1..0" (infinite stream). |
565 | - Started to add proper acknowledgements. |
566 | |
567 | 0.20 2 September 2006 |
568 | - Fixed bug reported by GEOFFR. When no tap output was found, an |
569 | "Unitialized value" warning occurred. [rt.cpan.org #21205] |
570 | - Updated tprove to now report a test failure when no tap output found. |
571 | - Removed examples/tprove_color2 as tprove_color now works. |
572 | - Vastly improved callback system and updated the docs for how to use |
356733da |
573 | them. |
b965d173 |
574 | - Changed TAPx::Parser::Source::Perl to use Symbol::gensym() instead of a |
575 | hard-to-guess filehandle name. |
576 | |
577 | 0.12 30 July 2006 |
578 | - Added a test colorization script |
579 | - Callback support added. |
580 | - Added TAPx::Parser::Source::Perl. |
581 | - Added TAPx::Parser::Aggregator. |
582 | - Added version numbers to all classes. |
583 | - Added 'todo_failed' test result and parser. |
584 | - 00-load.t now loads all classes instead of having individual tests load |
585 | their supporting classes. |
586 | - Changed $parser->results to $parser->next |
587 | |
588 | 0.11 25 July, 2006 |
589 | - Renamed is_skip and is_todo to has_skip and has_todo. Much less |
590 | confusing since a result responding true to those also responded true to |
591 | is_test. |
592 | - Added simplistic bin/tprove to run tests. Much harder than I thought |
593 | and much code stolen from Test::Harness. |
594 | - Modified stolen iterator to fix a bug with stream handling when extra |
595 | newlines were encountered. |
596 | - Added TAPx::Parser::Iterator (stolen from Test::Harness::Iterator) |
597 | - Normalized internal structure of result objects. |
598 | - All tokens now have a 'type' key. This greatly simplifies internals. |
599 | - Copied much result POD info into the main docs. |
600 | - Corrected the bug report URLs. |
601 | - Minor updates to the grammar listed in the POD. |
602 | |
603 | 0.10 23 July, 2006 |
604 | - Oh my Larry, we gots docs! |
605 | - _parse and _tap are now private methods. |
606 | - Stream support has been added. |
607 | - Moved the grammar into its own class. |
608 | - Pulled remaining parser functionality out of lexer. |
609 | - Added type() method to Results(). |
610 | - Parse errors no longer croak(). Instead, they are available through the |
611 | parse_errors() method. |
612 | - Added good_plan() method. |
613 | - tests_planned != tests_run is no longer a parse error. |
614 | - Renamed test_count() to tests_run(). |
615 | - Renamed num_tests() to tests_planned(). |
616 | |
617 | 0.03 17 July, 2006 |
618 | - 'Bail out!' is now handled. |
619 | - The parser is now data driven, thus skipping a huge if/else chain |
620 | - We now track all TODOs, SKIPs, passes and fails by test number. |
621 | - Removed all non-core modules. |
622 | - Store original line for each TAP line. Available through |
623 | $result->raw(). |
624 | - Renamed test is_ok() to passed() and added actual_passed(). The former |
625 | method takes into account TODO tests and the latter returns the actual |
626 | pass/fail status. |
627 | - Fixed a bug where SKIP tests would not be identified correctly. |
628 | |
629 | 0.02 8 July, 2006 |
630 | - Moved some lexer responsibility to the parser. This will allow us to |
631 | eventually parse streams. |
632 | - Properly track passed/failed tests, even accounting for TODO. |
633 | - Added support for comments and unknown lines. |
634 | - Allow explicit and inferred test numbers to be mixed. |
635 | - Allow escaped hashes in the test description. |
636 | - Renamed to TAPx::Parser. Will probably rename it again. |
637 | |
638 | 0.01 Date/time |
639 | - First version, unreleased on an unsuspecting world. |
640 | - No, you'll never know when ... |