Test::Run::CmdLine::Plugin::BreakOnFailure - break on the first test failure.


This is a Test::Run::CmdLine plugin that terminates the test suite after the first failing test script. This way, you can know more quickly in case something went wrong.

To enable, add BreakOnFailure to the HARNESS_PLUGINS environment variable and set the HARNESS_BREAK environment variable to a true value.



Returns the Backend Plugins as specified by this plugin. See Test::Run::CmdLine for more information.


Returns the non-direct Backend Environment Mappings, that will specify the YAML information. See Test::Run::CmdLine for more information.


Shlomi Fish, <shlomif at>


Please report any bugs or feature requests to bug-test-run-plugin-breakonfailure at, or through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

    perldoc Test::Run::CmdLine::Plugin::BreakOnFailure

You can also look for information at:


My work for Reask ( ) which inspired this module.


Test::Run::Plugin::BreakOnFailure, Test::Run, Test::Run::CmdLine, TAP::Parser


Copyright 2010 Shlomi Fish.

This program is distributed under the MIT (X11) License:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.