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

Changes for version 1.03_03 - 2016-03-29

  • --revdep, auto-testing of CPAN down-river modules working very well (work on #39)
  • added t/dev-1xx tests, need perlbrew/berrybrew installed to run. Set BBDEV_TESTING environment variable to run these tests (these tests can take a very long time to process, and currently, may be unreliable)
  • added Archive::Extract prereq for BBDEV_TESTING
  • fixed bug where --version wasn't doing anything
  • fixed bug on Windows where instance_remove() was removing the currently in-use perl instance
  • if an invalid arg is sent in, we now print help screen and exit (closes #45)
  • fix bug in results(), where the regex wasn't capturing properly on Windows
  • added blurb in SYNOPSIS about the importance of having a central cpanm (closes #44)
  • corrected a whole bunch of inconsistencies between win/nix throughout the dev test writing
  • we now re-check brew_info after an install, so we don't exit prematurely thinking no perls are installed, even after a --new 1 (closes #46)
  • had to change the DATA section in the plugins to one cmd per line, due to Windows not properly able to manage PATH env var on each exec run. The actual command to perform the tests *must* be the last line executed
  • added BrewExec::using(), sends back the exact version we're using, so remove_instance() does the right thing on Windows (fixes #47)
  • disabled 'on' tests on Windows, as berrybrew doesn't have a --with flag for 'exec'. We warn() if it's attempted
  • added examples/config.txt, shows a working Windows %PATH% env setup
  • began, albeit lightly, code cleanup (#36)
  • set objectives for v1.05 (full win/nix compat, document pristine testing environment, fix all outstanding non-wishlist issues and at minimum, document irregularities of test failures beyond this modules control)

Changes for version 1.03_02 - 2016-03-26

  • FAIL strategy completed. If there's STDERR output, we write it all to brewbuild_err.bblog. FAIL reports go into $perlver.bblog, and if we're using a plugin that accepts a module, we put fail reports into Tested::Module-$perlver.bblog, with the '::' replaced into '-'. The results (PASS and FAIL) are now all displayed at the end of output for easy identification (closes #43)
  • fixed case-insensitivity bug with options. -R and -r now do the respective Right Thing
  • cpanm is now called with the -v flag on the --test-only portion of the default plugin

Changes for version 1.03_01 - 2016-03-25

  • if --args is passed in, brewbuild runs the number of times the list has elements, and on each pass, the plugin receives the current arg in the list
  • --args executes --new and --remove only on first run through the loop
  • plugins now get a copy of the parent log for cloning
  • added --revdep, tests all CPAN reverse dependencies on the module you're testing
  • added prereq CPAN::ReverseDependencies for --revdep
  • Plugin::Simple v0.06 now required (fixes #28, #30)
  • documented $log as first param to a plugin (closes #35)
  • cleaned up SYNOPSIS (closes #38)
  • add tests for --args param for plugins (closes #32)
  • we now croak if there's no 't/' dir, as there'd be nothing to test (closes #34)
  • removed -R flag, -r was interfering. We'll figure this out later
  • cleaned up logging. By default 0 will display install/remove actions, all other logging needs debug 5-7 (closes #37)

Documentation

This is the front-end script for Test::BrewBuild

Modules

Perl/Berry brew unit testing automation across installed perl versions (Windows and Unix).
Provides Windows/Unix *brew command translations.
The default 'exec' command plugin.

Provides

in lib/Test/BrewBuild/Plugin/UnitTestPluginInst.pm