Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Test-Inline CPAN distribution.

Report information
The Basics
Id: 111510
Status: new
Priority: 0/
Queue: Test-Inline

Owner: Nobody in particular
Requestors: john.deighan [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: generated tests
Date: Thu, 28 Jan 2016 14:34:34 +0000
To: bug-Test-Inline [...]
From: John Deighan <john.deighan [...]>
Download (untitled) / with headers
text/plain 612b
I added a simple is() style test to a library of utilities I have named 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, but it seems like a no-brainer that when the test script is created for 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?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to