Skip to content

perlrdf/p5-test-earl-reports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Test::EARL::Reports - Parse EARL reports to produce tests

DESCRIPTION

This module is intended to be used in the case where other systems produce a report in the Evaluation and Report Language (EARL) and you wish to use the report in testing your own system or module with Perl facilities such as prove.

SYNOPSIS

In a test script, you will need the run the external test suite that generates the EARL report and then pass the EARL report as a IO::Handle, for example:

use Test::EARL::Reports;
use IO::File;

[... run external test suite ...]

my $earl = Test::EARL::Reports->new(parser => 'Turtle',
                                    fh => IO::File->new('report.ttl', 'r'));
$earl->run_tests;
done_testing;

BUGS

Please report any bugs to https://github.com/kjetilk/p5-test-earl-reports/issues.

SEE ALSO

AUTHOR

Kjetil Kjernsmo [email protected].

COPYRIGHT AND LICENCE

This software is copyright (c) 2021 by Kjetil Kjernsmo.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

About

Parse EARL reports to produce tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published