tdc são paulo 2016 - automation test with docker
TRANSCRIPT
Globalcode – Open4education
Automation Tests with DockerDanilo PorcelaniSoftware Developer
Globalcode – Open4education
Why am i here?!
Globalcode – Open4education
About me
Ex Marine, Specialist in Eletronic by Brazilian Navy,Bachelor in Computer Science (UERJ),Software Developer,Enthusiast of agile methods and tests area,Currently coursing a specialization in Web Development (UEM). Contact: http://www.porcelani.com/
Globalcode – Open4education
Why Virtualization
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
https://docs.docker.com/engine/understanding-docker/
Docker
Globalcode – Open4education
http://blog.toshimaru.net/docker-compose-rails/
Globalcode – Open4education
http://zeroturnaround.com/wp-content/uploads/2016/03/Docker-cheat-sheet-by-RebelLabs.png
Globalcode – Open4education
Easing your environment
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Easing your environment
DB
http://www.liquibase.org/https://flywaydb.org/
Globalcode – Open4education
Easing your environment
DB
SERVER
Dokerfiles example - https://github.com/webdevops
Globalcode – Open4education
Easing your environment
DB
SERVER
...
...
http://www.mock-server.com/where/docker.html
Globalcode – Open4education
Easing your environment
DB
SERVER
…
...
BROWSERTESTS
Globalcode – Open4education
Easing your environment
DB
SERVER
…
...
BROWSERTESTS
http://pt.slideshare.net/stefanteixeira/scrum-gathering-rio-2016-conteinerizando-testes-com-docker-compose
Globalcode – Open4education
Hands-on
https://github.com/porcelani/lecture-automation-tests-with-docker
Globalcode – Open4education
Hands-on
POSTGRES
WILDFLY
FIREFOXJUNITSELENIUM
GRID
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
Globalcode – Open4education
http://blogs.plos.org/tech/testing-made-awesome-with-docker/
Simplifying Development, • Everyone can run the tests;• No more H2 or comuns server developer;• Fast Build and Destroy images;• Eliminate Environment Inconsistencies;
Simplifying Test, • We don’t need special servers that only QA has access;• Automation tests relly run and QA can focus on tasks beyond
regression testing.
Globalcode – Open4education
“Legacy code is code without tests.” - Michal Feathers
Globalcode – Open4education
Discussions
Globalcode – Open4education
Thank you
Contact: http://www.porcelani.com