Subject: | generated tests |
Date: | Thu, 28 Jan 2016 14:34:34 +0000 |
To: | bug-Test-Inline [...] rt.cpan.org |
From: | John Deighan <john.deighan [...] gmail.com> |
I added a simple is() style test to a library of utilities I have named
utils.pm. Then I ran the script inline2test on it to generate a test file.
However, the test script fails simply because the test file does not "use
utils;". I know that I can add this statement to the test code inside of
utils.pm, but it seems like a no-brainer that when the test script is
created for utils.pm that the test script would automatically include a
"use utils;" line. Since I'm planning on running inline2test on an entire
directory of Perl modules, is there some easy way (configuration maybe?)
that I can make this happen?