• Save
BDD with rails, cucumber and rspec
Upcoming SlideShare
Loading in...5
×
 

BDD with rails, cucumber and rspec

on

  • 1,290 views

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

Statistics

Views

Total Views
1,290
Views on SlideShare
1,288
Embed Views
2

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 2

http://a0.twimg.com 1
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    BDD with rails, cucumber and rspec BDD with rails, cucumber and rspec Presentation Transcript

    • BDD con Rails Hiroshi HiromotoUna introducción a BDD con Rails – ODC – Tekton Labs
    • Cita “BDD es... poder irme a dormir tranquilo”
    • Antes de comenzar…
    • Busca tu pareja!
    • 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)”
    • El joker del mal
    • ¿Quién me salva? esting
    • TDD Write Refactor Fail Pass Code
    • Problema con TDD (trad.)QUÉHAC E QUÉ ES
    • BDD COMPORTAMIENT O
    • Enfoque: Outside In
    • 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
    • Scenario  Ejemplo Scenario: Successful concreto registered.  Comportamiento Scenario: Already  ¿Qué pasa en registered cada circunstancia? Scenario: Name is missing
    • 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
    • Biblioteca TK
    • Herramientas  Cucumber  Rspec  Webrat  Capybara  Selenium  Mucha más!
    • Cucumber Gem install cucumber BDD Comportamiento de la aplicación
    • Rspec Gem install rspec TDD Comportamiento de objetos
    • Outside In BDD with Tools
    • Biblioteca TK
    • Preguntas Hiroshi Hiromoto hiromoto.hiroshi@tektonlabs.c om http://about.me/hhiroshi @hhiroshi