Skip Menu |

Preferred bug tracker

Please email the preferred bug tracker to report your issue.

This queue is for tickets about the Astro-SpaceTrack CPAN distribution.

Report information
The Basics
Id: 12095
Status: resolved
Priority: 0/
Queue: Astro-SpaceTrack

Owner: Nobody in particular
Requestors: rrwo [...]

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

Subject: Asks for user-name during automated tests
Needs to detect AUTOMATED_TESTING environment variable and not ask for a user name.
Download (untitled) / with headers
text/plain 465b
I interpret your note as a request to add something like the following pseudo-Perl to basic.t so that it will play more nicely with CPAN::YACSmoke: if ($ENV{SPACETRACK_USER}) { # we're cool, because we can get # the username and password from # this environment variable. } elsif ($ENV{AUTOMATED_TESTING}) { # don't prompt for username, and # skip all tests that need it. } else { # prompt for username and password. } Is this correct?
Download (untitled) / with headers
text/plain 442b
[guest - Thu Mar 31 12:18:58 2005]: Show quoted text
> Needs to detect AUTOMATED_TESTING environment variable and not ask for > a user name.
I had planned an update this weekend, so I proceeded with an implementation consistent with the previously-send pseudo-Perl. Version 0.004 is uploaded and available, but not (as of about an hour ago) indexed. I will close the ticket in a couple weeks unless I hear from you otherwise. Thanks for the notification.
Download (untitled) / with headers
text/plain 181b
The code was changed in 0.004. I asked confirmation from the requestor at that time, but have not received it. Absent information to the contrary, I am marking the request resolved.

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

Please report any issues with to