intro a testes automatizados
TRANSCRIPT
Introdução a Testes Automatizados
[email protected]@carlosfelippe
slideshare.net/cfelippek21.com.br/treinamentos/
A Hora DevOps s01e02
Sócio e Agile Coach - Knowledge 21Instrutor nos treinamentos:
CSD – Certified Scrum DeveloperTestes AutomatizadosContinuous Delivery
Técnicas de FacilitaçãoProf. Colaborador/Funcionário - UFRJ“Agilista” desde 2004
Quem sou eu?
Duas motivaçõespara testes automatizados
Desenvolvimento por
CAMADASvs
FATIAS
Desenvolvimento por FATIAS!!!
Iteração 1: 5 devs e 1 tester
Regression Testing Hell
Iteração 1: 5 devs e 1 tester...
Iteração 6: 5 devs e 2 testers
Iteração 1: 5 devs e 1 tester...
Iteração 6: 5 devs e 2 testers…
Iteração 18: 5 devs e 3 testers???
Mudança de Mindset
Reativo eEstimula CYA(cover your ass)
Pró-Ativo e Colaborativo
http://www.agilecoachjournal.com/index.php/2014-01-28/testing-2/the-agile-testing-pyramid/
Duas motivações
Já se sentiu mal fazendo isso?
Automação!
Automação!
“Computers are designed to do simple repetitive tasks. The
second you have humans doing repetitive tasks, all the
computers get together late at night and laugh at you”
“… Every time you do something for the third time,
automate it. You’ll be doing it a million times…”
Neal Ford
A cultura de testes está no sangue?
A cultura de testes está no sangue?
Lisa Crispin, 2009
Tipos de TestesUnit Testing
Database Testing
Interface Testing
Headless Interface Testing
Visual Regression Testing Tools
Acceptance Testing
BDD/Spec Testing
Load Testing
WebService Testing
….
Unit Testing
JUnit, MBUnit, NUnit ... --> *Unit
MSTest, GoogleTest, TestNG
http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks
Database Testing
DBUnit / NDBUnit
Liquibase
Flyway DB
...
Interface Testing
Selenium
Python
Ruby
Java
C#
Interface Testing
Selenium
PhantonJS
Robotium
Watin
Ranorex
Robotium Recorder
TestComplete (Delphi)
FrogLogic
Telerik WebUI TS Studio
HP Quality Center ( ex Quick Test)
http://en.wikipedia.org/wiki/List_of_GUI_testing_tools
BDD/Spec Testing
Cucumber
SpecFlow
Thucydides
RSpec
Easyb
JBehave
…
Testes da sua Infra-estrutura!!!
Puppet Script
Cloud Provisioning Scripting Is it OK?(testing)
Introdução a Testes Automatizados
[email protected]@carlosfelippe
slideshare.net/cfelippek21.com.br/treinamentos/
A Hora DevOps s01e02