Git Product home page Git Product logo

test-software-license's Introduction

NAME

Test::Software::License - just another xt, for Software::License

VERSION

This document describes Test::Software::License version 0.004000

SYNOPSIS

    use Test::More;
    use Test::Requires { 'Test::Software::License' => 0.004000 };

    all_software_license_ok();

    # the following is brutal, if it exists it must have a valid license
    # all_software_license_ok({ strict => 1 });

    done_testing();

For an example of a complete test file look in eg/xt/software-license.t

DESCRIPTION

Test::Software::License it is intended to be used as part of your xt tests.

It now checks the META license and resources.license against Software::License, checking that the two correlate.

METHODS

  • all_software_license_ok

    This is the main method you should use, it uses all of the internal methods to check your distribution for License information. It checks the contents of scripts/bin along with lib, it expects to find META.[yml|json], just for good measure it checks for the presence of a LICENSE file.

          all_software_license_ok();
    

    If you want to check every perl file in your distribution has a valid license use the following, its brutal, good for finding CPANTS issues if that is your thing.

          all_software_license_ok({ strict => 1 });
    

    If you are trying to track down a issue you will get the best results with prove -lv

  • import

AUTHOR

Kevin Dawson [email protected]

CONTRIBUTORS

none at present

COPYRIGHT

Copyright © 2013-2014 the Test::Software::License "AUTHOR" and "CONTRIBUTORS" as listed above.

LICENSE

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

SEE ALSO

Software::License

XT::Manager

test-software-license's People

Contributors

kevindawson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.