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