Skip to content

Use docker to run tests #325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
a14n opened this issue Aug 21, 2015 · 1 comment
Closed

Use docker to run tests #325

a14n opened this issue Aug 21, 2015 · 1 comment

Comments

@a14n
Copy link
Contributor

a14n commented Aug 21, 2015

Sometimes the user or CI doesn't not support to run tests on some platforms. It would be great if the test could be run inside its own containers (if --use-docker option is set). Thus the only requirement would be to have docker on the machine.

This would allow:

  • to test against several versions of a browser
  • to reduce the concerns when you try to install content_shell (or when its installation fails randomly)
  • to test on platforms not supported nativelly (eg. phantomJS2 is not available on travis)

Btw as of today, we can use Docker as part of our build.

What do you think ?

@nex3
Copy link
Member

nex3 commented Aug 21, 2015

This is a great use-case for a plugin (#49 and/or #99), but it's not something I want to put in the core test package.

@nex3 nex3 closed this as completed Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants