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