I like Nightwatch, but I want to run and configure it like zuul. I'm wondering if there's room for a wrapper CLI that will run the Nightwatch runner and merge one of the configured "environments" (e.g. one local w/Selenium Server, another on Sauce Labs) with browser-specific configurations, then run itself once for each variation. Something like:
# implies -e default
nightwatcher -c nightwatch.json -b phantomjs
# test on Sauce with IE 8 & 9
nightwatcher -c nightwatch.json -e sauce -b ie@8..9
or you could specify one or more configurations that list which browsers to test, zuul-style:
Off the top of my head, the most important features would be:
Reasonable browser defaults so that people don't have to configure each one to test. Being able to do a one-off remote IE9 test, for instance, should be possible out of the box.
Sauce Labs support out of the box with auth configured automatically via environment variables (SAUCE_USERNAME and SAUCE_ACCESS_KEY are pretty much the standard).
Built-in launchers for Selenium Server for local testing, and Sauce Connect for remote testing of private URLs (namely, localhost) and CI services like Travis.
I like Nightwatch, but I want to run and configure it like zuul. I'm wondering if there's room for a wrapper CLI that will run the Nightwatch runner and merge one of the configured "environments" (e.g. one local w/Selenium Server, another on Sauce Labs) with browser-specific configurations, then run itself once for each variation. Something like:
or you could specify one or more configurations that list which browsers to test, zuul-style:
Off the top of my head, the most important features would be:
SAUCE_USERNAME
andSAUCE_ACCESS_KEY
are pretty much the standard).localhost
) and CI services like Travis.