我不明白。有一个很棒的模块Test::More女巫是 Perl 发行版的一部分。但有时在某些 Perl 模块中有指向模块 Test::Simple 的链接。 .
Test::Simple 不是 Perl 发行版的一部分,因此要安装一些需要 Test::Simple 的模块,您应该首先安装 Test::Simple。
有什么理由使用 Test::Simple 而不是 Test::More?
PS 例如,Test::Simple 依赖写入文件https://metacpan.org/source/MMIMS/Net-Twitter-4.00007/META.yml
最佳答案
Test::Simple是核心发行版的一部分,所以不需要安装它:
corelist Test::Simple
Test::Simple was first released with perl v5.6.2
以下是 POD 的引述:
This module is by no means trying to be a complete testing system. It's just to get you started. Once you're off the ground its recommended you look at Test::More.
关于perl - 需要 Perl 模块 Test::Simple 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19168449/