[英]How to run test in xt at once?
是否可以从命令行一次在xt
目录中运行测试?
The prove
tool has many options you can tweak. prove
工具具有许多可以调整的选项。 A useful invocation could be prove -l -r xt
, which includes the lib/
folder in @INC
, recurses into subdirectories, and starts in the xt
folder. 有用的调用可以是
prove -l -r xt
,它包括@INC
的lib/
文件夹,递归到子目录,并从xt
文件夹开始。 This would run all test in a directory structure like 这将在目录结构中运行所有测试,例如
lib/
Foo.pm
xt/
000-start.t
001-sometests/
001-foo.t
002-bar.t
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.