Revision history for TAP-Parser
0.05_03 08 January 2007
- Fixed bug where '-q' or '-Q' with colored tests weren't suppressing all
information.
- Fixed an annoying MANIFEST nit.
- Made '-h' for runtests now report help. Using a new harness requires
the full --harness switch.
- Added 'problems' method to TAPx::Parser and TAPx::Parser::Aggregator.
- Deprecatd 'todo_failed' in favor of 'todo_passed'
- Add -I switch to runtests.
- Fixed runtests doc nit (smylers)
- Removed TAPx::Parser::Builder.
- A few more POD nits taken care of.
- Completely removed all traces of C<--merge> as IPC::Open3 seems to be
working.
- Moved the tprove* examples to examples/bin in hopes of them no longer
showing up in CPAN's docs.
- Made the 'unexpectedly succeeded' message clearer (Adam Kennedy)
0.50_02 06 January 2007
- Added some files I left out of the manifest (reported by Florian
Ragwitz).
- Added strict to Makefile.PL and changed @PROGRAM to @program (reported
Florian Ragwitz).
0.50_01 06 January 2007
- Added a new example which shows to how test Perl, Ruby, and URLs all at
the same time using 'execrc' files.
- Fixed the diagnostic format mangling bug.
- We no longer override Test::Builder to merge streams. Instead, we go
ahead and use IPC::Open3. It remains to be seen whether or not this is
a good idea.
- Fixed vms nit: for failing tests, vms often has the 'not' on a line by
itself.
- Fixed bugs where unplanned tests were not reporting as a failure (test
number greater than tests planned).
- TAPx::Parser constructor can now take an 'exec' option to tell it what
to execute to create the stream (huge performance boost).
- Added TAPx::Parser::Source. This allows us to run tests in just about
any programming language.
- Renamed the filename() method to source() in TAPx::Parser::Source::Perl.
- We now cache the @INC values found for TAPx::Parser::Source::Perl.
- Added two test harnesses, TAPx::Harness and TAPx::Harness::Color.
- Removed references to manual stream construction from TAPx::Parser
documentation. Users should not (usually) need to worry about streams.
- Added bin/runtests utility. This is very similar to 'prove'.
- Renumbered tests to make it easier to add new ones.
- Corrected some minor documentation nits.
- Makefile.PL is no longer auto-generated (it's built by hand).
- Fixed regression test bug where driving tests through the harness I'm
testing caused things to break.
- BUG: exit() values are now broken. I don't know how to capture them
with IPC::Open3. However, since no one appears to be using them, this
might not be an issue.
0.41 12 December 2006
- Fixed (?) 10-regression.t test which failed on Windows. Removed the
segfault test as it has no meaning on Windows. Reported by PSINNOTT
<link@redbrick.dcu.ie> and fix recommended by Schwern based on his
Test::Harness experience.
http://rt.cpan.org/Ticket/Display.html?id=21624
0.40 05 December 2006
- Removed TAPx::Parser::Streamed and folded its functionality into
TAPx::Parser.
- Fixed bug where sometimes is_good_plan() would return a false positive
(exposed by refactoring).
- A number of tiny performance enhancements.
0.33 22 September 2006
- OK, I'm getting ticked off by some of the comments on Perl-QA so I
rushed this out the door and broke it :( I'm backing out one test and
slowing down a bit.
0.32 22 September 2006
- Applied patch from Schwern which fixed the Builder package name (TAPx::
instead of TAPX:: -- stupid case-insensitive package names!).
[rt.cpan.org #21605]
0.31 21 September 2006
- Fixed bug where Carp::croak without parens could cause Perl to fail to
compile on some platforms. [Andreas J. Koenig]
- Eliminated the non-portable redirect of STDERR to STDOUT (2>&1) and
fixed the synchronization issue. This involves overridding
Test::Builder::failure_output() in a very sneaky way. I may have to
back this out.
- Renamed boolean methods to begin with 'is_'. The methods they replace
are documented, deprecated, and will not be removed prior to version
1.00.
0.30 17 September 2006
- Fixed bug where no output would still claim to have a good plan.
- Fixed bug where no output would cause parser to die.
- Fixed bug where failing to specify a plan would be two parse errors
instead of one.
- Fixed bug where a correct plan count in an incorrect place would still
report as a 'good_plan'.
- Fixed bug where comments could accidently be misparsed as directives.
- Eliminated testing of internal structure of result objects. The other
tests cover this.
- Allow hash marks in descriptions. This was causing a problem because
many test suites (Regexp::Common and Perl core) allowed them to exist.
- Added support for SKIP directives in plans.
- Did some work simplifying &TAPx::Parser::_initialize. It's not great,
but it's better than it was.
- TODO tests now always pass, regardless of actual_passed status.
- Removed 'use warnings' and now use -w
- 'switches' may now be passed to the TAPx::Parser constructor.
- Added 'exit' status.
- Added 'wait' status.
- Eliminated 'use base'. This is part of the plan to make TAPx::Parser
compatible with older versions of Perl.
- Added 'source' key to the TAPx::Parser constructor. Making new parsers
is now much easier.
- Renamed iterator first() and last() methods to is_first() and is_last().
Credit: Aristotle.
- Planned tests != tests run is now a parse error. It was really stupid
of me not to do that in the first place.
- Added massive regression test suite in t/100-regression.t
- Updated the grammar to show that comments are allowed.
- Comments are now permitted after an ending plan.
0.22 13 September 2006
- Removed buggy support for multi-line chunks from streams. If your
streams or iterators return anything but single lines, this is a bug.
- Fixed bug whereby blank lines in TAP would confuse the parser. Reported
by Torsten Schoenfeld.
- Added first() and last() methods to the iterator.
- TAPx::Parser::Source::Perl now has a 'switches' method which allows
switches to be passed to the perl executable running the test file.
This allows tprove to accept a '-l' argument to force lib/ to be
included in Perl's @INC.
0.21 8 September 2006
- Included experimental GTK interface written by Torsten Schoenfeld.
- Fixed bad docs in examples/tprove_color
- Applied patch from Shlomi Fish fixing bug where runs from one stream
could leak into another when bailing out. [rt.cpan.org #21379]
- Fixed some typos in the POD.
- Corrected the grammar to allow for a plan of "1..0" (infinite stream).
- Started to add proper acknowledgements.
0.20 2 September 2006
- Fixed bug reported by GEOFFR. When no tap output was found, an
"Unitialized value" warning occurred. [rt.cpan.org #21205]
- Updated tprove to now report a test failure when no tap output found.
- Removed examples/tprove_color2 as tprove_color now works.
- Vastly improved callback system and updated the docs for how to use
them.
- Changed TAPx::Parser::Source::Perl to use Symbol::gensym() instead of a
hard-to-guess filehandle name.
0.12 30 July 2006
- Added a test colorization script
- Callback support added.
- Added TAPx::Parser::Source::Perl.
- Added TAPx::Parser::Aggregator.
- Added version numbers to all classes.
- Added 'todo_failed' test result and parser.
- 00-load.t now loads all classes instead of having individual tests load
their supporting classes.
- Changed $parser->results to $parser->next
0.11 25 July, 2006
- Renamed is_skip and is_todo to has_skip and has_todo. Much less
confusing since a result responding true to those also responded true to
is_test.
- Added simplistic bin/tprove to run tests. Much harder than I thought
and much code stolen from Test::Harness.
- Modified stolen iterator to fix a bug with stream handling when extra
newlines were encountered.
- Added TAPx::Parser::Iterator (stolen from Test::Harness::Iterator)
- Normalized internal structure of result objects.
- All tokens now have a 'type' key. This greatly simplifies internals.
- Copied much result POD info into the main docs.
- Corrected the bug report URLs.
- Minor updates to the grammar listed in the POD.
0.10 23 July, 2006
- Oh my Larry, we gots docs!
- _parse and _tap are now private methods.
- Stream support has been added.
- Moved the grammar into its own class.
- Pulled remaining parser functionality out of lexer.
- Added type() method to Results().
- Parse errors no longer croak(). Instead, they are available through the
parse_errors() method.
- Added good_plan() method.
- tests_planned != tests_run is no longer a parse error.
- Renamed test_count() to tests_run().
- Renamed num_tests() to tests_planned().
0.03 17 July, 2006
- 'Bail out!' is now handled.
- The parser is now data driven, thus skipping a huge if/else chain
- We now track all TODOs, SKIPs, passes and fails by test number.
- Removed all non-core modules.
- Store original line for each TAP line. Available through
$result->raw().
- Renamed test is_ok() to passed() and added actual_passed(). The former
method takes into account TODO tests and the latter returns the actual
pass/fail status.
- Fixed a bug where SKIP tests would not be identified correctly.
0.02 8 July, 2006
- Moved some lexer responsibility to the parser. This will allow us to
eventually parse streams.
- Properly track passed/failed tests, even accounting for TODO.
- Added support for comments and unknown lines.
- Allow explicit and inferred test numbers to be mixed.
- Allow escaped hashes in the test description.
- Renamed to TAPx::Parser. Will probably rename it again.
0.01 Date/time
- First version, unreleased on an unsuspecting world.
- No, you'll never know when ...