-
Notifications
You must be signed in to change notification settings - Fork 14
Home
Welcome to the wdio-docker-service wiki!
This service is very powerful and it draws its power from Docker. With Docker you don't need to worry about messing up your system configuration, everything runs in a controlled isolated and disposable environment.
Currently this service can be used in one of two ways:
- As a stand-alone Selenium server which comes paired with browser (Chrome or Firefox)
- As a testing framework for your containerized web application
You would use first way for portability and speed where you need to run your tests in a CI/CD environment and have tight control over version of Selenium and browser.
You would use second way for testing your application in its containerized form.
- Say you want to test how your app behaves in a different time zone - no problem, just set docker
TZ
environment variable. - How about testing out your code with a real database? - no problem just install it inside your container.
- Want to see how your app is built with production settings? - no problem, just set your
NODE_ENV
inside a container. - Want to test out new NGINX or Apache configuration, but too worried about doing it locally? - no problem there as well, just point your container to that new config.
As you can see there are a lot of different and powerful things you can do with Docker and this service just makes it a little easier to work with.
Please keep an eye on new testing scenarios using this service.
Thank You!