Integrator::Test::ConfigDataConfiguration information transfered in the TAP output | |
Download |
Integrator::Test::ConfigData Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Cydone Solutions Inc.
- Publisher web site:
- http://search.cpan.org/~fxfx/
Integrator::Test::ConfigData Tags
Integrator::Test::ConfigData Description
Configuration information transfered in the TAP output Integrator::Test::ConfigData is a Perl module for configuration information transfered in the TAP output.SYNOPSISThis module provides test functions to automate measurement and state information gathering from a test script to the TAP output with the intent of loading the information in the Integrator tool from Cydone Solutions. These functions are mostly wrappers around ok functions. See Test::Simple on www.cpan.org as a reference. If you need more information for the TAP format see Test::TAP::Model on www.cpan.org.Each of these functions is considered a single test statement and must be counted in your test plan. This module is a sub-class of Test::Builder. #... your typical test.t file ... #!/usr/bin/perl use Test::More tests => 3; #you declare your tests as usual use Integrator::Test::ConfigData; #you add this to have access this module's functions # a test to produce a measurement in the TAP output. my $fan_speed = function_that_returns_some_fan_speed(); measure( 'fan speed on FAN1', 'FAN_TACH1', $fan_speed, 'RPM', 0.1, 'TACH_123' ); # a test to declare a component state in the TAP output. component( 'locking a blade in place', 'CPU_BLADE', 'SN0010023', 'HANDLE', 'LOCKED' ); # a test to store a config file in the TAP output. config_file( 'last night temperature log', '/var/log/heat.log.00'); # a test to store config data in the TAP output. my $string = 'SERIAL_NUMER=1234;18Sept1970'; config_data( 'last night temperature log', 'serial_number_and_date', $string); Requirements: · Perl
Integrator::Test::ConfigData Related Software