[dancer-users] Testing documentation is lacking for newbs
Steve Dondley
sdondley at gmail.com
Fri Dec 29 18:14:46 GMT 2017
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 at 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 at 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 at lodgingcompany.com>
> wrote:
>
>> On Thu, 28 Dec 2017 17:45:54 -0500
>> Steve Dondley <sdondley at 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 <(250)%20869-4931>
>> _______________________________________________
>> dancer-users mailing list
>> dancer-users at dancer.pm
>> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>
--
Prometheus Labor Communications, Inc.
http://prometheuslabor.com
413-572-1300 <(413)%20572-1300>
UnionConnect Phone App for Labor Unions
http://unionconnect.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20171229/b1cac387/attachment.html>
More information about the dancer-users
mailing list