简体   繁体   中英

Is Perl module Test::Simple needed?

I don't get it. There is a great module Test::More witch is part of Perl distribution. But sometimes in some Perl modules there are links to the module Test::Simple .

Test::Simple is not part of the Perl distribution so to install some modules that need Test::Simple you should install Test::Simple first.

Are there any reasons why to use Test::Simple instead of Test::More?

PS for example, Test::Simple dependency is written in file https://metacpan.org/source/MMIMS/Net-Twitter-4.00007/META.yml

Test::Simple is part of the Core distribution, so there is no need to install it:

corelist Test::Simple

Test::Simple was first released with perl v5.6.2

Here is a quote from the 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.

Test::Simple module is from the core module, so you do not have to install it. Here is the url of use this module in the document, and you can also see that it is from the core module. The official document of Test::Simple Module

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM