++ed by:
ETHER

1 PAUSE user

Kenichi Ishigaki

NAME

Test::PAUSE::Permissions - tests module permissions in your distribution

SYNOPSIS

    # in your xt/perms.t

    use Test::PAUSE::Permissions;
    
    all_permissions_ok();

DESCRIPTION

This module is to test if modules in your distribution have proper permissions or not. You need to set RELEASE_TESTING to test this.

You might also want to prepare .pause file (you should have one to release distributions anyway) to declare the default authority of your distributions.

FUNCTION

This module exports only one function (yet):

all_permissions_ok

Looks for packages with Parse::LocalDistribution, and tests if you (or the registered author) have proper permissions for them by PAUSE::Permissions, which downloads 06perms.txt from CPAN before testing.

By default, all_permissions_ok looks into META files for x_authority or user in .pause file, and also each .pm file for $AUTHORITY variable.

You can also pass an authority as an argument.

    use Test::PAUSE::Permissions;
    
    # assumes ISHIGAKI has permissions
    all_permissions_ok('ISHIGAKI');

SEE ALSO

PAUSE::Permissions, App::PAUSE::CheckPerms

AUTHOR

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Kenichi Ishigaki.

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