How is testing of javascript on a web page typically done? WWW::Mechanize::Firefox?

On Fri, Dec 29, 2017 at 12:13 AM, Gert van Oss <gertvanoss@me.com> wrote:
Maybe this article can shine a light:

    http://advent.perldancer.org/2014/12


On Dec 29, 2017, at 12:11 AM, Steve Dondley <sdondley@gmail.com> wrote:

Ugh. I knew that. Slightly delirious from being sick. I’ll add to man page for those equally clueless.
On Thu, Dec 28, 2017 at 6:02 PM Chad Wallace <cwallace@lodgingcompany.com> wrote:
On Thu, 28 Dec 2017 17:45:54 -0500
Steve Dondley <sdondley@gmail.com> wrote:

> So I'm trying to figure out how to do testing Dancer 2 apps. For
> someone like me, relatively new to testing, it's unclear just where
> these tests should do and how to execute them. I read the docs but
> they didn't address my questions.
>
> With the default skeleton, I see there are two tests in t/ folder.
> They aren't executable nor do they have the shebang line. So I'm left
> scratching my head as to what to do with these tests and what they
> are used for and whether I should bother to modify them and add more
> tests to them. I tried making t/001_base.t executable and I just get
> an error that it couldn't load my module.

>From the app dir, run this command:

prove -lr t

Or to run a single test:

prove -l t/000-base.t


--

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0
+1 250-869-4931 ext. 6251
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users


_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users




--
Prometheus Labor Communications, Inc.
http://prometheuslabor.com
413-572-1300

UnionConnect Phone App for Labor Unions
http://unionconnect.com