throughnothing/Test-WWW-Mechanize-Dancer — pull request #2 by grantm (2012-08-31 03:10:01+00:00)
Title: Allow user to override class for creating mech object

The current implementation of Test::WWW:Mechanize::Dancer explicitly hard-codes the name of the class used to create the mechanize object.

I needed to override this setting to use a class which inherits from Test::WWW::Mechanize::PSGI and adds some project-specific test helper methods. This patch allows the test script to override the default class by providing a different value in the 'mech_class' option.