Don Olmstead
2015-11-08 21:11:45 UTC
Is it possible to send the unit tests you'd develop in "test" and then run
those off of Selenium? I know you can use the webdriver package to run
actual selenium functional tests but is there a way to just run the unit
tests through Selenium?
In terms of context to why one would want this at work we use the open
source version of Drone which is all Docker based. It also lets you do
something similar to docker compose. We spin
up https://hub.docker.com/r/selenium/standalone-chrome/ and then
communicate with that container to run JS tests through Karma
using https://www.npmjs.com/package/karma-selenium-webdriver-launcher.
Another nice thing with this sort of setup is that we could run things off
of a selenium grid to test using different browsers.
Anyone know of a setup for this or should this be a feature request for the
test framework?
those off of Selenium? I know you can use the webdriver package to run
actual selenium functional tests but is there a way to just run the unit
tests through Selenium?
In terms of context to why one would want this at work we use the open
source version of Drone which is all Docker based. It also lets you do
something similar to docker compose. We spin
up https://hub.docker.com/r/selenium/standalone-chrome/ and then
communicate with that container to run JS tests through Karma
using https://www.npmjs.com/package/karma-selenium-webdriver-launcher.
Another nice thing with this sort of setup is that we could run things off
of a selenium grid to test using different browsers.
Anyone know of a setup for this or should this be a feature request for the
test framework?
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.