Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Globalcode – Open4education
Adiel Cristo
Junho 2019
Entregando Bons Resultados
com BDD
Globalcode – Open4education
Agenda
✔ Contexto da Aplicação
✔ Tipos de Testes
✔ Behavior Driven Development
✔ Behat
✔ Mink
Globalcode – Open4education
Um Pouco de Contexto
✔ Arquitetura
✔ Infraestrutura
✔ Documentação
✔ Desenvolvimento
✔ Polític...
Globalcode – Open4education
✔ Testes Unitários
✔ Testes de Integração
✔ Testes de Fumaça
✔ Testes Funcionais
Tipos de Test...
Globalcode – Open4education
Testes Unitários
Globalcode – Open4education
Testes de Integração
Globalcode – Open4education
Testes de Fumaça
Globalcode – Open4education
Testes Funcionais
Globalcode – Open4education
BDD
✔ O que são bons resultados?
✔ TDD vs. BDD
✔ Stories
✔ Features
✔ Scenarios
Globalcode – Open4education
Stories
Globalcode – Open4education
Feature$
✔ Definir
✔ Priorizar
✔ Detalhar
✔ Implementar
Globalcode – Open4education
Scenarios
✔ Given: estado inicial
✔ When: ação tomada
✔ Then: resultado esperado
Globalcode – Open4education
Gherkin
Globalcode – Open4education
Behat - Instalação
Globalcode – Open4education
Behat - Context
Globalcode – Open4education
Mink
✔ Driver
✔ Goutte
✔ Selenium
✔ Session
✔ Page / DocumentElement
✔ Element / NodeElement
Globalcode – Open4education
Mink - Instalação
Globalcode – Open4education
Mink - Instalação
Globalcode – Open4education
Mink - Usando JavaScript
Globalcode – Open4education
Mink - Usando JavaScript
Globalcode – Open4education
Mink - MinkContext
Globalcode – Open4education
Links
https://behat.org
https://github.com/Behat/MinkExtension
https://behat-api-extension.rea...
Globalcode – Open4education
Links
https://github.com/adielcristo
https://twitter.com/adielcristo
https://www.adielcristo.c...
Upcoming SlideShare
Loading in …5
×

Entregando Bons Resultados com BDD - Darkmira Tour PHP 2019

24 views

Published on

Behavior Driven Development, ou BDD, é uma técnica de desenvolvimento onde focamos no comportamento da aplicação e na verificação e validação de funcionalidades para aumentar a qualidade e eficiência do seu código.

Nesta palestra veremos as idéias e conceitos básicos do BDD, como configurar o projeto para utilizar as ferramentas necessárias e como implementar os primeiros testes.

Published in: Software
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Entregando Bons Resultados com BDD - Darkmira Tour PHP 2019

  1. 1. Globalcode – Open4education Adiel Cristo Junho 2019 Entregando Bons Resultados com BDD
  2. 2. Globalcode – Open4education Agenda ✔ Contexto da Aplicação ✔ Tipos de Testes ✔ Behavior Driven Development ✔ Behat ✔ Mink
  3. 3. Globalcode – Open4education Um Pouco de Contexto ✔ Arquitetura ✔ Infraestrutura ✔ Documentação ✔ Desenvolvimento ✔ Políticas!!
  4. 4. Globalcode – Open4education ✔ Testes Unitários ✔ Testes de Integração ✔ Testes de Fumaça ✔ Testes Funcionais Tipos de Testes
  5. 5. Globalcode – Open4education Testes Unitários
  6. 6. Globalcode – Open4education Testes de Integração
  7. 7. Globalcode – Open4education Testes de Fumaça
  8. 8. Globalcode – Open4education Testes Funcionais
  9. 9. Globalcode – Open4education BDD ✔ O que são bons resultados? ✔ TDD vs. BDD ✔ Stories ✔ Features ✔ Scenarios
  10. 10. Globalcode – Open4education Stories
  11. 11. Globalcode – Open4education Feature$ ✔ Definir ✔ Priorizar ✔ Detalhar ✔ Implementar
  12. 12. Globalcode – Open4education Scenarios ✔ Given: estado inicial ✔ When: ação tomada ✔ Then: resultado esperado
  13. 13. Globalcode – Open4education Gherkin
  14. 14. Globalcode – Open4education Behat - Instalação
  15. 15. Globalcode – Open4education Behat - Context
  16. 16. Globalcode – Open4education Mink ✔ Driver ✔ Goutte ✔ Selenium ✔ Session ✔ Page / DocumentElement ✔ Element / NodeElement
  17. 17. Globalcode – Open4education Mink - Instalação
  18. 18. Globalcode – Open4education Mink - Instalação
  19. 19. Globalcode – Open4education Mink - Usando JavaScript
  20. 20. Globalcode – Open4education Mink - Usando JavaScript
  21. 21. Globalcode – Open4education Mink - MinkContext
  22. 22. Globalcode – Open4education Links https://behat.org https://github.com/Behat/MinkExtension https://behat-api-extension.readthedocs.io https://dannorth.net/whats-in-a-story https://testingbot.com/support/getting-started/beh at-mink.html https://codeception.com
  23. 23. Globalcode – Open4education Links https://github.com/adielcristo https://twitter.com/adielcristo https://www.adielcristo.com https://phpba.com.br Obrigado!!

×