How can I change the directory containing the test files in ExtUtils :: Makemaker?

How can you change the default test path in Makefile.PL from the default t / *. t ? There is an attribute in the documentation, but it does not work. Does anyone know how to do this?

+3
source share
2 answers

In Makefile.PL:

WriteMakefile(
    test => { TESTS => 'tests/*.t'},
    ....

Will make testrun test scripts in testsplace of t.

+2
source

- glob, MakeMaker , . Test:: Manifest, , , . , Test:: Manifest, , , .

+1

Source: https://habr.com/ru/post/1704658/


All Articles