Test::BoostUnit - Allow Tests to output Boost C++ XML format test reports
Version 0.05
A collection of routines to aid in automated testing
compareTwoDirecoryTrees compareTwoLists makeCheck makeCheckEqual makeError makeInfo makeCDATA makeCloseTestSuite linearRegression correlateTwoHashes matchTwoHashes generateConfusionMatrix makeComment makeOpenTestCase makeCloseTestCase makeOpenTestSuite makeOpenTestLog makeCloseTestLog calculateErrorMetricForTwoHashes calculateWeightedKappaOnConfusionMatrix
Runs two hashes through a set of functions to return a single metric value
Assume N matching keys in both hashes (V1 and V2): foreach n in N: Run a COMPARE_FUNC C(V1(n), V2(n)) Run a ACCUMULATION_FUNC A(n) = A(A(n-1),C(V1(n), V2(n)))
Finally:
Return a SUMMARY_FUNC S(A(N),N)
The default calculates the L2 Norm
Return the % of matching keys in Two hashes (VECTOR1 and VECTOR2):
Generates a confusion matrix between two vectors VECTOR1 and VECTOR2 VECTOR1 being an "expected" map between keys and values VECTOR2 being an "observed" map between keys and values
Given a confusion matrix and a weight matrix, generates a Kappa result
Given two vectors, calculates the common correlation between them
Performs a linear regression of a CDF in Y (in a COUNT and TOTAL_Y hash) against an X_HASH
Generates an XML boost unit test V1.4.5 Error Node
Generates an XML boost unit test V1.4.5 Info Node
Generates an XML CDATA Node
Generates an XML Comment Node
Generates an XML boost unit test V1.4.5 Test Case open tag
Generates an XML boost unit test V1.4.5 Test Case close tag
Generates an XML boost unit test V1.4.5 Test Suite Open tag
Generates an XML boost unit test V1.4.5 Test Suite Close tag
Generates an XML boost unit test V1.4.5 Test log open tag
Generates an XML boost unit test V1.4.5 Test log close tag
Compares Two Lists with some COMPARE_CODE
Default compares for equality ignoring whitespace
Compares the contents of two directory trees file by file
Checks a test condition and generates either an XML boost unit test V1.4.5 Info Node Or an XML boost unit test V1.4.5 Error Node
private helper function for printing lists
Checks two lists for equality and generates either an XML boost unit test V1.4.5 Info Node Or an XML boost unit test V1.4.5 Error Node
Robert Haxton, <robert.haxton at gmail.com>
<robert.haxton at gmail.com>
Please report any bugs or feature requests to bug-format-printutils at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TestTools-BoostUnitTest. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-format-printutils at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Test::BoostUnit
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=TestTools-BoostUnitTest
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/TestTools-BoostUnitTest
CPAN Ratings
http://cpanratings.perl.org/d/TestTools-BoostUnitTest
Search CPAN
http://search.cpan.org/dist/TestTools-BoostUnitTest/
Copyright 2011 Robert Haxton.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Test::BoostUnit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BoostUnit
CPAN shell
perl -MCPAN -e shell install Test::BoostUnit
For more information on module installation, please visit the detailed CPAN module installation guide.