From 178f3d512b03e0b1cbbf4de5553770ef352581a3 Mon Sep 17 00:00:00 2001 From: Vadim Pushtaev Date: Sat, 21 Nov 2015 20:50:36 +0300 Subject: [PATCH] CUSTOMIZING TEST RUNS POD fix we should provide filename instead of module name --- lib/Test/Class/Load.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Test/Class/Load.pm b/lib/Test/Class/Load.pm index 2de3839..f3a332d 100644 --- a/lib/Test/Class/Load.pm +++ b/lib/Test/Class/Load.pm @@ -193,9 +193,9 @@ Then, just make sure that all of your test classes inherit from your own base cl 1; -Then you can run an individual test class by using the C utility, tell it the directory of the test classes and the name of the test package you wish to run: +Then you can run an individual test class by using the C utility, tell it the directory of the test classes and the filename of the test class you wish to run: - prove -lv -It/tests Some::Test::Class + prove -lv -It/tests t/lib/Some/Test/Class.pm You can even automate this by binding it to a key in C: