Running Tests
Prev | Chapter 16. Making Lire “Test-infected” | Next

## Running Tests

To run tests, you use the TestRunner.pl script included with the PerlUnit distribution. You'll need to add the directory containing the Lire libraries to perl library path. For example, if you have TestRunner.pl in your `~/bin` directory, you can run a test case from the top level source directory like this:

    $ perl -Iall/lib ~/bin/TestRunner.pl tests::ExtendedDlfSchemaTest

`tests::ExtendedDlfSchemaTest` can be replaced by your TestCase module.

Prev | Up | Next
Writing Tests | Home | Some “Best Practices” on Unit Testing