]> git.koha-community.org Git - koha.git/commit
test suite: way to run single test file
authorGalen Charlton <galen.charlton@liblime.com>
Thu, 3 Jul 2008 18:34:03 +0000 (13:34 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 4 Jul 2008 14:22:24 +0000 (09:22 -0500)
commit3c844e0cb33c10e0a5b24b1f448a865798c35987
tree8f71c31e0af2a2827c297e48792abc8cfd9b3c71
parent46a43c0a93f5a7297452352e97b405c35d354cbd
test suite: way to run single test file

Added support for a new target in the test Makefile
to run a single test module.  If you do (for example)

make test-single TEST_FILES=lib/KohaTest/Biblio.pm

only the tests in that module will be run.  Unlike
the full test suite as run via 'make test', 'make test-single'
does not clear the test database before running the
tests.

Please note that "TEST_FILES=path/to/test/class.pm" is
required when using 'make test-single'.

Signed-off-by: Andrew Moore <andrew.moore@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
t/Makefile
t/lib/KohaTest.pm