SlideShare a Scribd company logo
Radim Daniel Pánek
Software Engineer in Test
@RDPanek | rdpanek.cz | medium.com/@RDPanek
jako prostředí pro
automatizaci testů
co je
Docker
Proč využít docker
zabalení test stacku
multiplatformní
recepty
public / private repository
práce podobná gitu
Dockerfile
FROM rdpanek/base:1.0
MAINTAINER Radim Daniel Pánek <rdpanek@gmail.com>
# env
ENV PHANTOMJS_VERSION 2.0.0
# Commands
RUN 
apt-get update && 
apt-get install -y build-essential g++ flex bison gperf ruby perl 
libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev 
libpng-dev libjpeg-dev && 
...
# Default command
CMD ["/usr/bin/phantomjs"]
$ sudo docker build .
pull
docker pull selenium/standalone-chrome:2.45.0
docker images
selenium/standalone-chrome 2.45.0 bb9e20158b72
11 weeks ago 697.5 MB
...
...
run / logs / ps / stop /
rm
docker run -d -p 4444:4444 -p 5900:5900 --name
chromeDebug selenium/standalone-chrome-debug:2.45.0
docker ps
5be5bfb6dc8f
selenium/standalone-chrome-debug:2.45.0 "/opt/bin/entry_poin
10 seconds ago Up 8 seconds
0.0.0.0:4444->4444/tcp, 0.0.0.0:5900->5900/tcp
chromeDebug
docker logs -f chromeDebug
docker stop chromeDebug
docker rm chromeDebug
public repository
automated build
repository
V mém případě jde o
Selenium stack
Headless stack
Load / Stress / Performance
Testy v kontejneru
SeleniumHQ
selenium/base
selenium/hub
selenium/node-base
selenium/node-chrome
selenium/standalone-chrome
selenium/standalone-chrome-debug
selenium/node-chrome-debug
github.com/SeleniumHQ/docker-selenium
Selenium / VNC viewer
chrome-debug > password: secret
Vaše otázky ?
Radim Daniel Pánek
Software Engineer in Test
@RDPanek | rdpanek.cz | medium.com/@RDPanek

More Related Content

PDF
PDF
Real world Webapp
PDF
PHP Mega Meetup, Sep, 2020, Anti patterns in php
PDF
Testing your app with Selenium on Travis CI
PDF
A Introduction to the World of Node, Javascript & Selenium
PDF
Essential debugging php debugging techniques, tips & tricks
PPT
Testing Web Apps With Scripting Language - Mark Rees, Century Software
PDF
Groovy - Grails as a modern scripting language for Web applications
Real world Webapp
PHP Mega Meetup, Sep, 2020, Anti patterns in php
Testing your app with Selenium on Travis CI
A Introduction to the World of Node, Javascript & Selenium
Essential debugging php debugging techniques, tips & tricks
Testing Web Apps With Scripting Language - Mark Rees, Century Software
Groovy - Grails as a modern scripting language for Web applications

What's hot (20)

PDF
Minimum Viable Docker: our journey towards orchestration
PDF
DBI for Parrot and Perl 6 Lightning Talk 2007
PPT
JavaScript Unit Testing
PPT
JavaScript Unit Testing
PDF
WebRTC - Brings Real-Time to the Web
PDF
High Productivity Web Development Workflow
PDF
JavaCro'14 - Profile any environment with Java Flight Recorder – Johan Janssen
PPTX
Automated Testing with Cucumber, PhantomJS and Selenium
PDF
Testing with Codeception (Webelement #30)
PPTX
Automation testing with Drupal 8
ODP
When Good Code Goes Bad: Tools and Techniques for Troubleshooting Plone
PDF
Madison PHP 2015 - DevOps For Small Teams
PPTX
Performance tips for Symfony2 & PHP
PDF
Web aplikāciju izstrāde ar Ruby on Rails un Oracle DB
PPTX
Introduction to Integration Testing With Cypress
PDF
Automate Yo' Self
PDF
Getting started with .net on openSUSE (asp.net with c#)
PDF
3 WAYS TO TEST YOUR COLDFUSION API
PDF
PHP-VCR behat case study
PPTX
Autotests introduction - Codeception + PHP Basics
Minimum Viable Docker: our journey towards orchestration
DBI for Parrot and Perl 6 Lightning Talk 2007
JavaScript Unit Testing
JavaScript Unit Testing
WebRTC - Brings Real-Time to the Web
High Productivity Web Development Workflow
JavaCro'14 - Profile any environment with Java Flight Recorder – Johan Janssen
Automated Testing with Cucumber, PhantomJS and Selenium
Testing with Codeception (Webelement #30)
Automation testing with Drupal 8
When Good Code Goes Bad: Tools and Techniques for Troubleshooting Plone
Madison PHP 2015 - DevOps For Small Teams
Performance tips for Symfony2 & PHP
Web aplikāciju izstrāde ar Ruby on Rails un Oracle DB
Introduction to Integration Testing With Cypress
Automate Yo' Self
Getting started with .net on openSUSE (asp.net with c#)
3 WAYS TO TEST YOUR COLDFUSION API
PHP-VCR behat case study
Autotests introduction - Codeception + PHP Basics
Ad

Similar to Docker jako prostředí pro automatizaci testů (20)

PDF
The Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
PPTX
Docker
PPTX
Continuous delivery with docker
PPTX
Running Docker in Development & Production (DevSum 2015)
PDF
Docker as development environment
PDF
Environment isolation with Docker (Alex Medvedev, Alpari)
PDF
Introduction to Docker - Learning containerization XP conference 2016
PDF
Docker module 1
PDF
Deployment Tactics
PDF
Docker in everyday development
PPTX
Docker for Web Developers: A Sneak Peek
PDF
Streamline your development environment with docker
PDF
DCSF 19 Building Your Development Pipeline
PDF
Docker Introduction.pdf
PDF
Continuous Integration: SaaS vs Jenkins in Cloud
PDF
桃園市教育局Docker技術入門與實作
PDF
JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...
PDF
The Docker "Gauntlet" - Introduction, Ecosystem, Deployment, Orchestration
PDF
Introduction to Docker
PPTX
Docker Security workshop slides
The Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
Docker
Continuous delivery with docker
Running Docker in Development & Production (DevSum 2015)
Docker as development environment
Environment isolation with Docker (Alex Medvedev, Alpari)
Introduction to Docker - Learning containerization XP conference 2016
Docker module 1
Deployment Tactics
Docker in everyday development
Docker for Web Developers: A Sneak Peek
Streamline your development environment with docker
DCSF 19 Building Your Development Pipeline
Docker Introduction.pdf
Continuous Integration: SaaS vs Jenkins in Cloud
桃園市教育局Docker技術入門與實作
JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...
The Docker "Gauntlet" - Introduction, Ecosystem, Deployment, Orchestration
Introduction to Docker
Docker Security workshop slides
Ad

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Machine learning based COVID-19 study performance prediction
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
cuic standard and advanced reporting.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
KodekX | Application Modernization Development
PDF
Electronic commerce courselecture one. Pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Machine learning based COVID-19 study performance prediction
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Weekly Chronicles - August'25 Week I
cuic standard and advanced reporting.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KodekX | Application Modernization Development
Electronic commerce courselecture one. Pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
Network Security Unit 5.pdf for BCA BBA.

Docker jako prostředí pro automatizaci testů