Test::Presenter::DbXml - A submodule for Test::Presenter This module provides access to a DBXml perl object for the storage and querying of test results data. The DBXml perl object is populated with one or more TRPI-like XML files.
$report->open_db("/path/to/database", "database.dbxml"); $report->add_doc("/path/to/logfile", "log.trpi"); $report->remove_doc("log.trpi");
Test::Presenter::DbXml is a helper module to give Test::Presenter the ability to access DBXml Containers. All Queries for generating reports are done through DBXml with the help of the Test::Presenter::Query module.
Purpose: Open a Database if it exists, otherwise create it. Input: Database Path, Database Filename Output: 1
Purpose: Add a Document to an already open Database. Input: Document Path, Document Filename Output: 1
Purpose: Remove a Document from the open Database. Input: Name of Document to remove Output: 1
To install Test::Presenter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Presenter
CPAN shell
perl -MCPAN -e shell install Test::Presenter
For more information on module installation, please visit the detailed CPAN module installation guide.