generate_perl_test_skeleton - Do what the name says
generate_perl_test_skeleton -p Foo::Bar -t t/Foo/Bar.t [-s]
# generate the test file ./t/Foo/Bar.t that tests module Foo::Bar: generate_perl_test_skeleton -p Foo::Bar -t t/Foo/Bar.t # same thing, but use the path to the package instead of its name: generate_perl_test_skeleton -p ./lib/Foo/Bar.pm -t t/Foo/Bar.t
This script will generate a skeleton test file for a perl module. You have to provide a command line paramter -t whose values designates the file name of the test file you want to create or update and a parameter -p whose value takes either a perl package name or the path to a perl module.
Path to the test file to be generated/updated.
Path or name of the module you want to test.
Enable debugging.
Ignore methods/functions in your perl package that start with an underscore.
Test::Skeleton::Generator - the perl module that powers this script
https://github.com/mannih/vim-perl-testing is a vim plugin that was created to be used with something like generate_perl_test_skeleton.
Copyright (C) Manni Heumann.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Manni Heumann <github@lxxi.org>
To install Test::Skeleton::Generator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Skeleton::Generator
CPAN shell
perl -MCPAN -e shell install Test::Skeleton::Generator
For more information on module installation, please visit the detailed CPAN module installation guide.