Some packages shouldn't be delivered

Ovid on 2007-03-20T11:54:04

Hmm, our --noserver option for our Web tests was still driving the tests through the Web server. However, running tests without a server is so similar to running them with a server that it's tough to know which behavior you're really paying attention. As a result, once I needed the 'no server' functionality, I was surprised to discover that it had been broken a while ago. It took me a long time of digging through the code to find the following snippet:

# Go 'under the server'
unless ( $self->uses_server ) {
    @Test::WWW::Mechanise::ISA = 'ProdDev::Mock::Mechanize';
}

It should be obvious why it's a British coworker who's responsible for that bug.

I hate package variables.


So,,,

sigzero on 2007-03-20T13:28:40

Did you give the gent 30 lashes?