Mocking LWP::UserAgent properly

This is an update to an earlier post I wrote about the adventures I had in creating and using a mock LWP::UserAgent for testing purposes. The ever-vigilant mst overheard a conversation on the same topic, and jumped in. He pointed out that Test::MockObject (and everything using it) overrides UNIVERSAL::isa in a way that hides bugs. Because it can hide bugs, it is definitely not safe to use in a test suite, where you’re trying to uncover bugs.

YAPC::NA day three

Miyagawa strikes again

On day three (read about days one and two), I spent most of my time socializing and networking rather than attending talks.

My YAPC::NA 2011 lightning talk

Well, YAPC::NA 2011 in Asheville, NC is over, and I had the opportunity (after getting bumped around more than a couple times) to give a lightning talk as part of the final session. I had previously done a blog post on the subject, but I wanted to share some of my thoughts with a wider audience.