Dancer2-Plugin-RPC

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

   "name" : "Dancer2-Plugin-RPC",
   "no_index" : {
      "directory" : [
         "t",
         "inc"
      ]
   },
   "prereqs" : {
      "build" : {
         "requires" : {
            "Test::Fatal" : "0.01",
            "Test::MockObject" : "1.20",
            "Test::Simple" : "0.88",
            "Test::Warnings" : "0.030"
         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "6.55_02"
         }
      },

META.yml  view on Meta::CPAN

---
abstract: 'Namespace for XMLRPC, JSONRPC2 and RESTRPC plugins'
author:
  - 'Abe Timmerman <abeltje@cpan.org>'
build_requires:
  Test::Fatal: '0.01'
  Test::MockObject: '1.20'
  Test::Simple: '0.88'
  Test::Warnings: '0.030'
configure_requires:
  ExtUtils::MakeMaker: 6.55_02
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html

Makefile.PL  view on Meta::CPAN

        'Type::Tiny'                       => '1.01',
        'namespace::autoclean'             => '0.16',
        %extra_prereq,
    },

    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => '6.55_02',
    },

    BUILD_REQUIRES => {
        'Test::Fatal'      => '0.01',
        'Test::MockObject' => '1.20',
        'Test::Simple'     => '0.88',    # done_testing()
        'Test::Warnings'   => '0.030',
    },

    MIN_PERL_VERSION => '5.010001',

    META_MERGE => {
        'meta-spec' => {
            version    => 2,

t/Test/abeltje.pm  view on Meta::CPAN

use v5.10.1;
use warnings;
use strict;

our $VERSION = '1.07';

use parent 'Test::Builder::Module';

use Test::Builder::Module;
use Test::More;
use Test::Fatal qw( exception success dies_ok lives_ok );
use Test::Warnings qw( :all );

our @EXPORT = (
    'abeltje_done_testing',

    @Test::More::EXPORT,
    @Test::Fatal::EXPORT_OK,
    @Test::Warnings::EXPORT_OK
);

sub import_extra {
    # use Test::Warnings 'warnings' interferes
    # with warnings->import()
    warnings::import('warnings');
    strict->import();

    require feature;

t/Test/abeltje.pm  view on Meta::CPAN


    # Don't forget -I. on the shebang line
    # this is where you have your Fav. test-routines.

    abeltje_done_testing();

=head1 DESCRIPTION

Mostly nicked from other modules (like L<Modern::Perl>)...

This gives you L<Test::More>, L<Test::Fatal>, L<Test::Warnings> and also imports
for you: L<strict>, L<warnings>, the L<feature> with the C<:5.10> tag and L<lib>
with the C<t/lib> path.

=head2 abeltje_done_testing

Just for fun, an alias for L<Test::More/done_testing()>.

=head2 import_extra

This module works by the use of L<Test::Builder::Module/import_extra()>.



( run in 3.650 seconds using v1.01-cache-2.11-cpan-54e63673c56 )