Cydone's Integrator software enables users to collect and harmonize Test::More findings for enhanced testing of applications.
Integrator::Module::Build comes equipped with a standard Perl module test harness that's created using the Module::Start package. Therefore, you can use this package to construct a new test harness. Suppose you'd like to create a test harness named 'my-test-module'; in that case, you can use the script available from Module::Starter, as shown in the example below:
module-starter --mb
--email='[email protected]'
--author='User Name'
--module='My::Test::Module'
After creating the test harness, you need to update the Build.PL file located under My-Test-Module with the correct Integrator credentials. You can visit Cydone to request your demo credentials, and a specific Build.PL file will be sent to you within a demo test harness.
In order to instantiate a Perl test harness, you need to use a typical Build.PL file that includes Integrator::Module::Build. Here's an example:
use strict;
use warnings;
use Integrator::Module::Build;
my $builder = Integrator::Module::Build->new(
module_name => 'My::Test::Module',
dist_author => ' ',
integrator_project_code => 'demo',
integrator_lab_code => 'default',
integrator_user => 'your username',
integrator_pwd => 'the password you received',
integrator_url => '',
integrator_http_realm => '',
integrator_http_user => '',
integrator_http_pwd => '',
);
$builder->create_build_script();
Once you've established the Perl test harness, it's up to you to create and modify the test case files based on Test::Simple or Test::More styles. You can discover these documents under the .t directory in your new test model, and synchronize the results in the Integrator by executing the following steps:
perl ./Build.PL
./Build
./Build integrator_test
./Build integrator_sync.
Version 1.057: N/A