<div dir="ltr">How is testing of javascript on a web page typically done? WWW::Mechanize::Firefox?<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 29, 2017 at 12:13 AM, Gert van Oss <span dir="ltr"><<a href="mailto:gertvanoss@me.com" target="_blank">gertvanoss@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div>Maybe this article can shine a light:</div><div><br></div> <a href="http://advent.perldancer.org/2014/12" target="_blank">http://advent.perldancer.org/2<wbr>014/12</a><div><div class="m_-2439971836283328623h5"><br><div><br><blockquote type="cite"><div>On Dec 29, 2017, at 12:11 AM, Steve Dondley <<a href="mailto:sdondley@gmail.com" target="_blank">sdondley@gmail.com</a>> wrote:</div><br class="m_-2439971836283328623m_484854784080269812Apple-interchange-newline"><div>Ugh. I knew that. Slightly delirious from being sick. I’ll add to man page for those equally clueless. <br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 28, 2017 at 6:02 PM Chad Wallace <<a href="mailto:cwallace@lodgingcompany.com" target="_blank">cwallace@lodgingcompany.com</a>> wrote:<br></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>
Steve Dondley <<a href="mailto:sdondley@gmail.com" target="_blank">sdondley@gmail.com</a>> wrote:<br>
<br>
> So I'm trying to figure out how to do testing Dancer 2 apps. For<br>
> someone like me, relatively new to testing, it's unclear just where<br>
> these tests should do and how to execute them. I read the docs but<br>
> they didn't address my questions.<br>
><br>
> With the default skeleton, I see there are two tests in t/ folder.<br>
> They aren't executable nor do they have the shebang line. So I'm left<br>
> scratching my head as to what to do with these tests and what they<br>
> are used for and whether I should bother to modify them and add more<br>
> tests to them. I tried making t/001_base.t executable and I just get<br>
> an error that it couldn't load my module.<br>
<br>
>From the app dir, run this command:<br>
<br>
prove -lr t<br>
<br>
Or to run a single test:<br>
<br>
prove -l t/000-base.t<br>
<br>
<br>
--<br>
<br>
C. Chad Wallace, B.Sc.<br>
The Lodging Company<br>
<a href="http://www.lodgingcompany.com/" rel="noreferrer" target="_blank">http://www.lodgingcompany.com/</a><br>
OpenPGP Public Key ID: 0x262208A0<br>
<a href="tel:(250)%20869-4931" value="+12508694931" target="_blank">+1 250-869-4931 ext. 6251</a><br>
______________________________<wbr>_________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank">http://lists.preshweb.co.uk/ma<wbr>ilman/listinfo/dancer-users</a><br>
</blockquote></div>
______________________________<wbr>_________________<br>dancer-users mailing list<br><a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/ma<wbr>ilman/listinfo/dancer-users</a><br></div></blockquote></div><br></div></div></div><br>______________________________<wbr>_________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank">http://lists.preshweb.co.uk/ma<wbr>ilman/listinfo/dancer-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-2439971836283328623gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Prometheus Labor Communications, Inc.<br><a href="http://prometheuslabor.com" target="_blank">http://prometheuslabor.com</a><br><a href="tel:(413)%20572-1300" value="+14135721300" target="_blank">413-572-1300</a><br><br>UnionConnect Phone App for Labor Unions<br><a href="http://unionconnect.com" target="_blank">http://unionconnect.com</a></div></div></div>
</div></div>