The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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.

SYNOPSIS

$report->open_db("/path/to/database", "database.dbxml");
$report->add_doc("/path/to/logfile", "log.trpi");
$report->remove_doc("log.trpi");

DESCRIPTION

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.

FUNCTIONS

open_db()

Purpose: Open a Database if it exists, otherwise create it.
Input: Database Path, Database Filename
Output: 1

add_doc()

Purpose: Add a Document to an already open Database.
Input: Document Path, Document Filename
Output: 1

remove_doc()

Purpose: Remove a Document from the open Database.
Input: Name of Document to remove
Output: 1