Selenium Grid & Docker - budowa środowiska do testów przeglądarkowych

16
SELENIUM GRID & DOCKER Budowa środowiska do testów przeglądarkowych

Transcript of Selenium Grid & Docker - budowa środowiska do testów przeglądarkowych

SELENIUM GRID & DOCKER

Budowa środowiska do testówprzeglądarkowych

ŁUKASZ ROSŁONEK

# Senior Test Engineer

# TestDetective.com

# TESTY PRZEGLĄDARKOWE

# WYZWANIA

# 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

# WYZWANIA

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

# [email protected]

# 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