The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.50_06

  • Fixed doc typo in examples/README [rt.cpan.org #24409]
  • Colored test output is now the default for 'runtests' unless you're running under windows or -t STDOUT is false.
  • Removed the .t extension from t/source_tests/*.t since those are 'test tests' which caused false negatives when running recursive tests. [Adrian Howard]
  • Somewhere along the way, the exit status started working again. Go figure.
  • Factored color output so that disabling it under Windows is cleaner.
  • Added explicit switch to :crlf layer after open3 under Windows. open3 defaults to raw mode resulting in spurious \r characters in parsed input.
  • Made Iterator do an explicit wait for subprocess termination. Needed to get process status correctly on Windows.
  • Fixed bug which didn't allow t/010-regression.t to be run directly via Perl unless you specified Perl's full path.
  • Removed SIG{CHLD} handler (which we shouldn't need I think because we explicitly waitpid) and made binmode ':crlf' conditional on IS_WIN32. On Mac OS these two things combined to expose a problem which meant that output from test scripts was sometimes lost.
  • Made t/110-source.t use File::Spec->catfile to build path to test script.
  • Made Iterator::FH init is_first, is_last to 0 rather than undef for consistency with array iterator.
  • Added t/120-varsource.t to test is_first and is_last semantics over files with small numbers of lines.
  • Added check for valid callback keys.
  • Added t/130-results.t for Result classes.

Changes for version 0.50_05

  • Removed debugging code accidentally left in bin/runtests.
  • Removed 'local $/ = ...' from the iterator. Hopefully that will fix the line ending bug, but I don't know about the wstat problem.

Changes for version 0.50_04

  • BACKWARDS IMCOMPATIBLE: Renamed all '::Results' classes to '::Result' because they represent a single result.
  • Fixed bug where piping would break verbose output.
  • IPC::Open3::open3 now takes a @command list rather than a $command string. This should make it work under Windows.
  • Added 'stdout_sterr' sample test back to regression tests. IPC::Open3 appears to make it work.
  • Bug fix: don't print 'All tests successful' if no tests are run.
  • Refactored 'runtests' to make it a bit easier to follow.
  • Bug fix: Junk and comments now allowed before a leading plan.
  • HARNESS_ACTIVE and HARNESS_VERSION environment variables now set.
  • Renamed 'problems' in TAPx::Parser and TAPx::Aggregator to 'has_problems'.

Changes for version 0.50_03

  • 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)

Changes for version 0.50_02

  • 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).

Changes for version 0.50_01

  • 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.

Documentation

Run tests through a TAPx harness.

Modules

Run Perl test scripts with statistics
Run Perl test scripts with color
Parse TAP output
Aggregate TAPx::Parser results.
A grammar for the original TAP version.
Internal TAPx::Parser Iterator
TAPx::Parser output
Bailout result token.
Comment result token.
Plan result token.
Test result token.
Unknown result token.
Stream output from some source
Stream Perl output

Provides

in lib/TAPx/Parser/Iterator.pm
in lib/TAPx/Parser/Iterator.pm