Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以从命令行一次在目录中运行测试xt?
xt
该prove工具有许多可以调整的选项。一个有用的调用可能是prove -l -r xt,它包含 中的lib/文件夹@INC,递归到子目录,并在xt文件夹中开始。这将在目录结构中运行所有测试,例如
prove
prove -l -r xt
lib/
@INC
lib/ Foo.pm xt/ 000-start.t 001-sometests/ 001-foo.t 002-bar.t