App::SimpleScan::Plugin::Snapshot

App::SimpleScan::Plugin::Snapshot is a Perl module to allow tests to snapshot results.
Download

App::SimpleScan::Plugin::Snapshot Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Joe McMahon
  • Publisher web site:
  • http://search.cpan.org/~mcmahon/Class-AutoPlug-0.02/lib/Class/AutoPlug/Pluggable.pm

App::SimpleScan::Plugin::Snapshot Tags


App::SimpleScan::Plugin::Snapshot Description

App::SimpleScan::Plugin::Snapshot is a Perl module to allow tests to snapshot results. App::SimpleScan::Plugin::Snapshot is a Perl module to allow tests to snapshot results.SYNOPSIS use App::SimpleScan; my $app = new App::SimpleScan; $app->go; # plugin loaded automatically hereSupports the %%snapshot_dir and %%snapshot pragmas plus the --snapshot_dir and --snap_all and -snap_errors options.INTERFACEpragmasInstalls the pragmas into App::SimpleScan.optionsInstalls the command line options into App::SimpleScan.snapshots_toAccessor allowing pragmas and command line options to share the variable containing the current value for this combined option.snapshotAccessor allowing pragmas and command line options to share the variable containing the current value for this combined option.snap_prefixAccessor allowing pragmas and command line options to share the variable containing the current value for this combined option.snap_layoutAccessor allowing pragmas and command line options to share the variable containing the current value for this combined option.snapshot_dir_pragmaActually implements the %%snapshot_dir pragma, stacking the necessary code.snapshot_pragmaSets the current snapshotting: 'on' (snapshot everything), or 'error' (only snapshot on errors).snap_layout_pragmaSets the current snapshot format: 'vertical' (framed page, divided vertically), 'horizontal' (framed page, divided horizontally), or 'popup' (page containing the debug info as an IFRAME, with a link to pop up the original page in a new window - good for XML, since IE and Firefox don't render XML properly in a subframe).snap_prefix_pragmaSet the current snapshot "prefix" - substituted for the directory that the snapshots are stored in when the snapshot frame file name is printed. This makes it possible to do things like transform a filename into a URL so that you can link to snapshots from a report.validate_optionsStandard App::SimpleScan callback: validates the command-line arguments, calling the appropriate pragma methods as necessary.filtersStandard App::SimpleScan callback: returns the list of filters for code that will be stacked by stack_test().filterImplements the snapshotting. Add code after every test that either snapshots every transaction (snapshot 'on') or only after an error occurs (snapshot 'error'). Requirements: · Perl


App::SimpleScan::Plugin::Snapshot Related Software