[dancer-users] Dancer2::Test appears to misbehave

Jashank Jeremy jashank at rulingia.com
Tue Mar 12 21:14:36 GMT 2013


On Wed, Mar 13, 2013 at 12:07:14AM +1100, Russell Jenkins wrote:
>When Dancer2::Test is imported, it expects an arrayref of app names.
>i.e.
>  use Dancer2::Test apps => ['TestApp'];

Yes, I spoted that; see line 42 of https://gist.github.com/5140883

>Otherwise it falls back to the caller as the only app to be tested.

Ah, right; that would seem to explain the way that t/dancer-test.t
works.

Cheers,

~jashank

--
Jashank Jeremy
PGP: 0x25A5C309
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20130313/9f121030/attachment.pgp>


More information about the dancer-users mailing list