Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: john.deighan [...] gmail.com
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, score=-2.698 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="001a11492cead29332052a65d1fd"
Message-ID: <CA+b=dkprx5mbk2DrP8Ls6Ea+FEYY22KRAJo-BO9ZUnNP+E=7BA [...] mail.gmail.com>
X-Received: by 10.129.88.193 with SMTP id m184mr1668813ywb.332.1453991683853; Thu, 28 Jan 2016 06:34:43 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.698
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 16DE7240353 for <cpan-bug+Test-Inline [...] hipster.bestpractical.com>; Thu, 28 Jan 2016 09:34:52 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cMGyhovA7moR for <cpan-bug+Test-Inline [...] hipster.bestpractical.com>; Thu, 28 Jan 2016 09:34:50 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 80654240338 for <bug-Test-Inline [...] rt.cpan.org>; Thu, 28 Jan 2016 09:34:50 -0500 (EST)
Received: (qmail 15839 invoked by alias); 28 Jan 2016 14:34:50 -0000
Received: from mail-yk0-f172.google.com (HELO mail-yk0-f172.google.com) (209.85.160.172) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 28 Jan 2016 06:34:47 -0800
Received: by mail-yk0-f172.google.com with SMTP id k129so32627386yke.0 for <bug-Test-Inline [...] rt.cpan.org>; Thu, 28 Jan 2016 06:34:47 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Test-Inline [...] hipster.bestpractical.com
Subject: generated tests
Return-Path: <john.deighan [...] gmail.com>
X-RT-Mail-Extension: test-inline
X-Original-To: cpan-bug+Test-Inline [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=YVzr+bYp6gV4epOkPqCKxUIWt6xGSl9EHvnQN9Fc8O8=; b=q2KFdZxfEcIyV3NyIxb53zfQ0J0QI1APUzZQc6yjaMfjrWSAK2n1BNuNAYQZADAUdk WSDLjOMfdeL+34hJkMeNxL8LKJYoB5zXfYTfsO1CNgBNAp1OwI7XPHDfUyF+AIvUii7w Jr0HU5pr3neawRvhtUh1IMbn8TIWhLkWGY5adMWKxXf4ijGTz0+QdfdfBjFAOKawelgc QQ+yJeRcdnxXHB/8Uq007bHv3NttLwv7vx6tbZV7E4TxJ99PDDJ7FBgxJczuXaYsHG7T v6QOKh4/Irojw6YMpQwXlReW1yVN4Zq89wA1jaJ3BcYgVvjjaKk9BP8ekU1NML4AEISX ynlQ==
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=YVzr+bYp6gV4epOkPqCKxUIWt6xGSl9EHvnQN9Fc8O8=; b=O1bhrBZkmc07wpGriBOY+8pM5/9gbj1u0CZdhoWVLPoWFENZsczNLpjuTFUnvpMPIm nCiW9KbkRhV3A9fO9SfNFqkOgo7Tze5Vjiak0wXnU7/xeM8xgagb0DW+pDXoTDN1ANn/ CqpCF2t6a0eRyq7JF9ApYRkiQPUQlQIL+riqgTLFENskk88ln7wSphXzEYT/I3KWSCde uR39srIgXSwjwrQCrKa4DbTPbvwj5RakszyocKp4kI8QQaAdOJINpd6kHzC1W7PHYkdp 8+NNHbYTtfBuCTl691jDwYZq5sQU0emnf0EPmZZqTrvJxW5Y9wlYzKXYOi0pRpmqIeYN +CDA==
Date: Thu, 28 Jan 2016 14:34:34 +0000
X-Spam-Level:
To: bug-Test-Inline [...] rt.cpan.org
From: John Deighan <john.deighan [...] gmail.com>
X-GM-Message-State: AG10YOSKOp3VQg7FDQ/21JFLE8QLsCQPp+7SU333pKJEwCAR9qyDKS7k3fbisgESKVhN8A4gQOppYN/b3WITuA==
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 612
Download (untitled) / with headers
text/plain 612b
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?
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 747


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.