Bryce Harrington > Test-Presenter-0.2 > Test::Presenter::DbXml

Download:
Test-Presenter-0.2.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: Test-Presenter-0.5

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
syntax highlighting: