Your SlideShare is downloading. ×
BDD with rails, cucumber and rspec
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

BDD with rails, cucumber and rspec

1,023
views

Published on

Charla sobre Behavior Driven Development (BDD) enfocado en su aplicación para proyecto de Ruby on Rails. …

Charla sobre Behavior Driven Development (BDD) enfocado en su aplicación para proyecto de Ruby on Rails.

Herramientas: Cucumber y Rspec

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,023
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. BDD con Rails Hiroshi HiromotoUna introducción a BDD con Rails – ODC – Tekton Labs
  • 2. Cita “BDD es... poder irme a dormir tranquilo”
  • 3. Antes de comenzar…
  • 4. Busca tu pareja!
  • 5. BDD es …“ … una técnica de desarrollo ágil que se enfoca en el comportamiento de una aplicación para dirigir el desarrollo de la misma (a través de test)”
  • 6. El joker del mal
  • 7. ¿Quién me salva? esting
  • 8. TDD Write Refactor Fail Pass Code
  • 9. Problema con TDD (trad.)QUÉHAC E QUÉ ES
  • 10. BDD COMPORTAMIENT O
  • 11. Enfoque: Outside In
  • 12. Feature  Funcionalidad Feature: Register a  El “qué” book  ¿User story? As a administrator I want to be able to register a book In order to let the other people rent them thru the system
  • 13. Scenario  Ejemplo Scenario: Successful concreto registered.  Comportamiento Scenario: Already  ¿Qué pasa en registered cada circunstancia? Scenario: Name is missing
  • 14. Step Describe que Given I am in the book pasa en un registration page escenario And I fill the book name field  Given with “Agile Samurai”  When  Then When I press the register  And button  But Then the book should be registered
  • 15. Biblioteca TK
  • 16. Herramientas  Cucumber  Rspec  Webrat  Capybara  Selenium  Mucha más!
  • 17. Cucumber Gem install cucumber BDD Comportamiento de la aplicación
  • 18. Rspec Gem install rspec TDD Comportamiento de objetos
  • 19. Outside In BDD with Tools
  • 20. Biblioteca TK
  • 21. Preguntas Hiroshi Hiromoto hiromoto.hiroshi@tektonlabs.c om http://about.me/hhiroshi @hhiroshi

×