Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Stream TAP from MyTAP test scripts
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib/TAP/Parser/SourceHandler
t
.gitignore
.travis.yml
Build.PL
Changes
MANIFEST.SKIP
README.md

README.md

TAP/Parser/SourceHandler/MyTAP version 3.26

This module adds support for executing MyTAP MySQL tests under Test::Harness and C. This is useful for executing your Perl tests and your MySQL tests together, and analysing their results.

Most likely. you'll want to use it with C to execute your Perl and MyTAP tests:

prove --source Perl \
      --ext .t --ext .my \
      --source MyTAP --mytap-option database=try \
                     --mytap-option user=root \
                     --mytap-option suffix=.my

Or in F for your application with MyTAP tests in F:

Module::Build->new(
    module_name        => 'MyApp',
    test_file_exts     => [qw(.t .my)],
    use_tap_harness    => 1,
    tap_harness_args   => {
        sources => {
            Perl  => undef,
            MyTAP => {
                database => 'try',
                user     => 'root',
                suffix   => '.my',
            },
        }
    },
    build_requires     => {
        'Module::Build'                     => '0.30',
        'TAP::Parser::SourceHandler::MyTAP' => '3.22',
    },
)->create_build_script;

Installation

To install this module, type the following:

perl Build.PL
./Build
./Build test
./Build install

Dependencies

TAP::Parser::SourceHandler::MyTAP requires TAP::Parser::SourceHandler.

Copyright and Licence

Copyright (c) 2010-2013 David E. Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.