Test::Chimps::Report - Encapsulate a smoke test report


Test-Chimps documentation Contained in the Test-Chimps distribution.

Index


Code Index:

NAME

Top

Test::Chimps::Report - Encapsulate a smoke test report

SYNOPSIS

Top

Represents a smoke report. See Jifty::DBI::Record.

Note that parts of this class are dynamically generated in Test::Chimps::Server base on the configuation file.

METHODS

Top

new ARGS

Creates a new Report. ARGS is a hash whose only valid key is handle. Its value must be a Jifty::DBI::Handle.

COLUMNS

Top

Test::Chimps::Reports have the following columns (and consequently accessors):

* report_html
* model_structure
* timestamp
* total_ok
* total_passed
* total_nok
* total_failed
* total_percentage
* total_ratio
* total_seen
* total_skipped
* total_todo
* total_unexpectedly_succeeded

Additionally, columns are added dynamically based on the report variables specified in the server. Unfortunately, this means that external modules have a hard time getting at the Report class as seen by the server.

AUTHOR

Top

Zev Benjamin, <zev at cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-test-chimps at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Chimps. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

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

    perldoc Test::Chimps

You can also look for information at:

* Mailing list

Chimps has a mailman mailing list at chimps@bestpractical.com. You can subscribe via the web interface at http://lists.bestpractical.com/cgi-bin/mailman/listinfo/chimps.

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Test-Chimps

* CPAN Ratings

http://cpanratings.perl.org/d/Test-Chimps

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Chimps

* Search CPAN

http://search.cpan.org/dist/Test-Chimps

COPYRIGHT & LICENSE

Top


Test-Chimps documentation Contained in the Test-Chimps distribution.
package Test::Chimps::Report;

use warnings;
use strict;

use base qw/Jifty::DBI::Record/;

package Test::Chimps::Report::Schema;

use Jifty::DBI::Schema;

column report_html                  => type is 'text';
column model_structure              => type is 'text',
  filters are 'Jifty::DBI::Filter::Storable', 'Jifty::DBI::Filter::base64';
column timestamp                    => type is 'timestamp',
  filters are 'Jifty::DBI::Filter::DateTime';
column total_ok                     => type is 'integer';
column total_passed                 => type is 'integer';
column total_nok                    => type is 'integer';
column total_failed                 => type is 'integer';
column total_percentage             => type is 'integer';
column total_ratio                  => type is 'integer';
column total_seen                   => type is 'integer';
column total_skipped                => type is 'integer';
column total_todo                   => type is 'integer';
column total_unexpectedly_succeeded => type is 'integer';

1;