Skip to content

theory/tap-parser-sourcehandler-mytap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TAP/Parser/SourceHandler/MyTAP version 3.28

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<Build.PL> for your application with MyTAP tests in F<t/*.my>:

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-2016 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.

About

Stream TAP from MyTAP test scripts

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages