ur test run - Run the test suite against the source tree.
This document describes ur test run version 0.29.
ur test run [--color] [--junit] [--list] [--lsf] [--recurse] [--callcount] [--cover=?] [--cover-cvs-changes] [--cover-svk-changes] [--cover-svn-changes] [--coverage] [--inc=?[,?]] [--jobs=?] [--long] [--lsf-params=?] [--noisy] [--perl-opts=?] [--run-as-lsf-helper=?] [--script-opts=?] [--time=?] [BARE-ARGS]
cd MyNamespace ur test run --recurse # run all tests in the namespace ur test run # runs all tests in the t/ directory under pwd ur test run t/mytest1.t My/Class.t # run specific tests ur test run -v -t --cover-svk-changes # run tests to cover latest svk updates ur test run -I ../some/path/ # Adds ../some/path to perl's @INC through -I ur test run --junit # writes test output in junit's xml format (consumable by Hudson integration system)
Use TAP::Harness::Color to generate color output
Default value 'false' (--nocolor) if not specified
Make color 'false'
Run all tests with junit style XML output. (requires TAP::Formatter::JUnit)
Make junit 'false'
List the tests, but do not actually run them.
Make list 'false'
If true, tests will be submitted as jobs via bsub
Make lsf 'false'
Run all .t files in the current directory, and in recursive subdirectories.
Make recurse 'false'
Count the number of calls to each subroutine/method
Make callcount 'false'
Cover only this(these) modules
Cover modules modified in cvs status
Make cover-cvs-changes 'false'
Cover modules modified in svk status
Make cover-svk-changes 'false'
Cover modules modified in svn status
Make cover-svn-changes 'false'
Invoke Devel::Cover
Make coverage 'false'
Additional paths for @INC, alias for -I
How many tests to run in parallel
Default value '1' if not specified
Run tests including those flagged as long
Make long 'false'
Params passed to bsub while submitting jobs to lsf
Default value '-q short -R select[type==LINUX64]' if not specified
doesn't redirect stdout
Make noisy 'false'
Override options to the Perl interpreter when running the tests (-d:Profile, etc.)
Default value '' if not specified
Used internally by the test harness
Override options to the test case when running the tests (--dump-sql --no-commit)
Write timelog sum to specified file
(undocumented)
This command is like "prove" or "make test", running the test suite for the current namespace.
To install UR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UR
CPAN shell
perl -MCPAN -e shell install UR
For more information on module installation, please visit the detailed CPAN module installation guide.