NAME
Fennec::Collector::Files - File based output collector for fennec
DESCRIPTION
This is the default collector for fennec. This collector creates a temporary directory to which it writes all output objects. These files are removed as they are collected. When the tests complete the temp dir will be removed.
METHODS
- @outputs = $obj->cull()
-
Retrieve all the output objects that have been written since the start or last cull.
- $obj->write( $output )
-
Store an output object so that it will be picked up in the parent process.
- $obj->start()
-
Start the collector (does preparation work)
- $obj->finish()
-
Finish the collector (Cleanup)
- $dir = $obj->testdir()
-
Name of the tempdir that stores result files.
AUTHORS
Chad Granum exodist7@gmail.com
COPYRIGHT
Copyright (C) 2010 Chad Granum
Fennec is free software; Standard perl licence.
Fennec is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.