<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Maybe this article can shine a light:</div><div class=""><br class=""></div>    <a href="http://advent.perldancer.org/2014/12" class="">http://advent.perldancer.org/2014/12</a><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 29, 2017, at 12:11 AM, Steve Dondley <<a href="mailto:sdondley@gmail.com" class="">sdondley@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Ugh. I knew that. Slightly delirious from being sick. I’ll add to man page for those equally clueless. <br class=""><div class="gmail_quote"><div dir="ltr" class="">On Thu, Dec 28, 2017 at 6:02 PM Chad Wallace <<a href="mailto:cwallace@lodgingcompany.com" class="">cwallace@lodgingcompany.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 28 Dec 2017 17:45:54 -0500<br class="">
Steve Dondley <<a href="mailto:sdondley@gmail.com" target="_blank" class="">sdondley@gmail.com</a>> wrote:<br class="">
<br class="">
> So I'm trying to figure out how to do testing Dancer 2 apps. For<br class="">
> someone like me, relatively new to testing, it's unclear just where<br class="">
> these tests should do and how to execute them. I read the docs but<br class="">
> they didn't address my questions.<br class="">
><br class="">
> With the default skeleton, I see there are two tests in t/ folder.<br class="">
> They aren't executable nor do they have the shebang line. So I'm left<br class="">
> scratching my head as to what to do with these tests and what they<br class="">
> are used for and whether I should bother to modify them and add more<br class="">
> tests to them. I tried making t/001_base.t executable and I just get<br class="">
> an error that it couldn't load my module.<br class="">
<br class="">
From the app dir, run this command:<br class="">
<br class="">
prove -lr t<br class="">
<br class="">
Or to run a single test:<br class="">
<br class="">
prove -l t/000-base.t<br class="">
<br class="">
<br class="">
--<br class="">
<br class="">
C. Chad Wallace, B.Sc.<br class="">
The Lodging Company<br class="">
<a href="http://www.lodgingcompany.com/" rel="noreferrer" target="_blank" class="">http://www.lodgingcompany.com/</a><br class="">
OpenPGP Public Key ID: 0x262208A0<br class="">
+1 250-869-4931 ext. 6251<br class="">
_______________________________________________<br class="">
dancer-users mailing list<br class="">
<a href="mailto:dancer-users@dancer.pm" target="_blank" class="">dancer-users@dancer.pm</a><br class="">
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank" class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br class="">
</blockquote></div>
_______________________________________________<br class="">dancer-users mailing list<br class=""><a href="mailto:dancer-users@dancer.pm" class="">dancer-users@dancer.pm</a><br class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users<br class=""></div></blockquote></div><br class=""></body></html>