nysus has asked for the wisdom of the Perl Monks concerning the following question:
I've been reading up on various modules for test the output from a Dancer2 website, specifically Plack::Test. This module makes it exceedingly easy to start up a standalone website on the fly. I also found this module, Test::WWW::Mechanize::PSGI which looks great. However, there is no way (that I can see, at least) that either of these two modules can be used to test javascript that fiddles with the DOM on the page. So the best alternate route, at least from what I can see, is to set up a site on a server manually and test it with WWW::Mechanize::Chrome or maybe WWW::Scripter.
So I'm wondering if there is some solution out there that will let me easily run tests on a site with javascript on via psgi. Thanks.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing javascript on Dancer2 psgi sites
by 1nickt (Canon) on Jan 06, 2018 at 15:55 UTC | |
|
Re: Testing javascript on Dancer2 psgi sites
by Corion (Patriarch) on Jan 06, 2018 at 16:13 UTC | |
by nysus (Parson) on Jan 06, 2018 at 16:24 UTC | |
by Corion (Patriarch) on Jan 06, 2018 at 17:50 UTC | |
by 1nickt (Canon) on Jan 06, 2018 at 18:07 UTC | |
by nysus (Parson) on Jan 06, 2018 at 18:24 UTC | |
by Corion (Patriarch) on Jan 06, 2018 at 19:04 UTC | |
|