SELENIUM GRID & DOCKER
Budowa środowiska do testówprzeglądarkowych
ŁUKASZ ROSŁONEK
# Senior Test Engineer
# TestDetective.com
# TESTY PRZEGLĄDARKOWE
# SELENIUM GRID
NODE
NODE
NODE
HUB
server CI /local machine
remote host /localhost
single host /cluster
Test distribution
# GRID? A PO CO TO KOMU?
zrównoleglenie testówwiele przeglądarek i systemów
SERVER
OS
APP
# KIEDYŚ…
GUEST OS
APP
VM
GUEST OS
APP
VM
GUEST OS
APP
VM
HYPERVISOR
SERVER
# VIRTUAL MACHINES
HOST OS
LXC LXC LXC
SERVER
OS
APP APP APP
# KONTENERYZACJA
$ docker pull cassandra
$ docker run cassandra
# DOCKER
seleniumhub:image: selenium/hubports:- 4444:4444
firefoxnode:image: selenium/node-firefoxlinks:- seleniumhub:hub
$ docker-compose up
# DOCKER-COMPOSE
# lukasz.roslonek@gmail.com
# twitter.com/TestDetective
# testdetective.com
• http://testdetective.com/selenium-grid-with-docker/• http://testdetective.com/selenium-grid/• http://github.com/SeleniumHQ/docker-selenium• http://hub.docker.com/r/selenium/• http://www.youtube.com/watch?v=S4OkrnFb-YY
# CZYTAJ DALEJ