Cucumber



19-B-6
                      (   )       |
                      Rails   @
     Developers Summit 2010
http://d.hatena.ne.jp/moro/
http://amazon.jp/gp/product/4797336625
Ruby x Agile


Cucumber


Cucumber
1. Ruby x Agile. Ruby x Fragile?

2. Cucumber

3.

4.

5. Cucumber
Cucumber

           Ruby

Cucumber
1. Ruby x Agile. Ruby x Fragile?

2. Cucumber

3.

4.

5. Cucumber
Cucumber   Ruby




              Rails
   Cucumber
http://ruby.agile.esm.co.jp/
Agile
fkino says:
                      I says:
Ruby x Agile
kakutani
  says:




             KAKUTANI Shintaro; Nihon Ruby-no-kai; Eiwa System Management,Inc.



           http://w...
Ruby x Fragile?
Cucumber
1. Ruby x Agile. Ruby x Fragile?

2. Cucumber

3.

4.

5. Cucumber
Cucumber   Ruby




              Rails
   Cucumber
http://cukes.info
Cucumber


             Ruby   (step)

End to end
:




:
            "alice"
            "a_note"
            "a_note"


            "a_note"     "FrontPage"

    :
      ...
Web            DSL
         Web
  step
Given "([^"]*)"

When   "([^"]*)"
When   "([^"]*)"
When   "([^"]*)"   "([^"]*)"
When
When         "([^"]*)"

Then   "([^"]...
step

step

                ”root”
       ”toor”
Given /                         / do
  Given %("   "       "root"      )
  Given %("       "    "toor"          )
  Given ...
:
                    "           "
    "                   "
#   ...

    "<format_type>"
    "<textarea_for_new>"    "  ...
Date.yesterday


body div.flash .notice
“     ”        “3         ”

Transform /(d+)        (?:   )/ do |n|
  Integer(n).days.ago
end
:




:
            "alice"
            "a_note"
            "a_note"


            "a_note"     "FrontPage"

    :
      ...
1. Ruby x Agile. Ruby x Fragile?

2. Cucumber

3.

4.

5. Cucumber
Cucumber   Ruby




              Rails
   Cucumber
:




:
            "alice"
            "a_note"
            "a_note"


            "a_note"     "FrontPage"

    :
      ...
•
•
•
•
•
•
•
•
•
1. Ruby x Agile. Ruby x Fragile?

2. Cucumber

3.

4.

5. Cucumber
Cucumber   Ruby




              Rails
   Cucumber
Ruby



•RSpec
“Ruby”


Ruby
"alice"


#         (w+)
#     Ruby


Given(/           "(w+)"            /) do |name|
  @user = create_user_as(name)
  au...
Ruby




       @
t-wada says:




                        Takuto Wada, June 2009
http://www.slideshare.net/t_wada/emergent-design-oblove-20...
RSpec
                                                                          !

                                       ...
1. Ruby x Agile. Ruby x Fragile?

2. Cucumber

3.

4.

5. Cucumber
Cucumber   Ruby




              Rails
   Cucumber
david says:




  Constraints are liberating
          (a straight jacket for your mind)




              http://www.scri...
Rails
Cucumber
Cucumber

           Ruby

Cucumber
Cucumber



 this photo is by Ctd 2005 | http://www.flickr.com/photos/kikisdad/190501758/
this photo is by Ctd 2005 | http://www.flickr.com/photos/kikisdad/190501758/
you.any?{|u|
  u.question?
}
ww



ww
        Web
 Web         mock

End to End
Developers Summit 2010
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Cucumber In Practice
Upcoming SlideShare
Loading in …5
×

Cucumber In Practice

8,980 views

Published on

2 years with cucumber tells me that Cucumber is not only "executable plain text test" but also "generator of a language for both customer and developer".

Published in: Technology
1 Comment
15 Likes
Statistics
Notes
  • cuke!cuke!cuke!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
8,980
On SlideShare
0
From Embeds
0
Number of Embeds
3,466
Actions
Shares
0
Downloads
150
Comments
1
Likes
15
Embeds 0
No embeds

No notes for slide

Cucumber In Practice

  1. 1. Cucumber 19-B-6 ( ) | Rails @ Developers Summit 2010
  2. 2. http://d.hatena.ne.jp/moro/
  3. 3. http://amazon.jp/gp/product/4797336625
  4. 4. Ruby x Agile Cucumber Cucumber
  5. 5. 1. Ruby x Agile. Ruby x Fragile? 2. Cucumber 3. 4. 5. Cucumber
  6. 6. Cucumber Ruby Cucumber
  7. 7. 1. Ruby x Agile. Ruby x Fragile? 2. Cucumber 3. 4. 5. Cucumber
  8. 8. Cucumber Ruby Rails Cucumber
  9. 9. http://ruby.agile.esm.co.jp/
  10. 10. Agile fkino says: I says:
  11. 11. Ruby x Agile
  12. 12. kakutani says: KAKUTANI Shintaro; Nihon Ruby-no-kai; Eiwa System Management,Inc. http://www.slideshare.net/kakutani/welcome-to-the-desert-of-the-real
  13. 13. Ruby x Fragile?
  14. 14. Cucumber
  15. 15. 1. Ruby x Agile. Ruby x Fragile? 2. Cucumber 3. 4. 5. Cucumber
  16. 16. Cucumber Ruby Rails Cucumber
  17. 17. http://cukes.info
  18. 18. Cucumber Ruby (step) End to end
  19. 19. : : "alice" "a_note" "a_note" "a_note" "FrontPage" : "a_note" "FrontPage" "SKIP Wiki " " "
  20. 20. Web DSL Web step
  21. 21. Given "([^"]*)" When "([^"]*)" When "([^"]*)" When "([^"]*)" "([^"]*)" When When "([^"]*)" Then "([^"]*)" Then "([^"]*)" Then "([^"]*)" Then
  22. 22. step step ”root” ”toor”
  23. 23. Given / / do Given %(" " "root" ) Given %(" " "toor" ) Given %(" " ) end
  24. 24. : " " " " # ... "<format_type>" "<textarea_for_new>" " " " " # ... :
  25. 25. Date.yesterday body div.flash .notice
  26. 26. “ ” “3 ” Transform /(d+) (?: )/ do |n| Integer(n).days.ago end
  27. 27. : : "alice" "a_note" "a_note" "a_note" "FrontPage" : "a_note" "FrontPage" "SKIP Wiki " " "
  28. 28. 1. Ruby x Agile. Ruby x Fragile? 2. Cucumber 3. 4. 5. Cucumber
  29. 29. Cucumber Ruby Rails Cucumber
  30. 30. : : "alice" "a_note" "a_note" "a_note" "FrontPage" : "a_note" "FrontPage" "SKIP Wiki " " "
  31. 31. • • • •
  32. 32. • • • • •
  33. 33. 1. Ruby x Agile. Ruby x Fragile? 2. Cucumber 3. 4. 5. Cucumber
  34. 34. Cucumber Ruby Rails Cucumber
  35. 35. Ruby •RSpec
  36. 36. “Ruby” Ruby
  37. 37. "alice" # (w+) # Ruby Given(/ "(w+)" /) do |name| @user = create_user_as(name) authenticate_with_fake_open_id_server( @user.identity_url ) end
  38. 38. Ruby @
  39. 39. t-wada says: Takuto Wada, June 2009 http://www.slideshare.net/t_wada/emergent-design-oblove-2009-summer
  40. 40. RSpec ! ! ( ) 2009-07-07 ObjectClub 2009 Summer | Rails @ ! ! k-morohashi@esm.co.jp ! 2009 7 7 2009 7 7 I say: http://www.slideshare.net/moro/tdd-frameworks-let-me-dream-project-specific-language
  41. 41. 1. Ruby x Agile. Ruby x Fragile? 2. Cucumber 3. 4. 5. Cucumber
  42. 42. Cucumber Ruby Rails Cucumber
  43. 43. david says: Constraints are liberating (a straight jacket for your mind) http://www.scribd.com/doc/26482/-RailsConf-Keynote-David-Heinemeier-Hansson
  44. 44. Rails
  45. 45. Cucumber
  46. 46. Cucumber Ruby Cucumber
  47. 47. Cucumber this photo is by Ctd 2005 | http://www.flickr.com/photos/kikisdad/190501758/
  48. 48. this photo is by Ctd 2005 | http://www.flickr.com/photos/kikisdad/190501758/
  49. 49. you.any?{|u| u.question? }
  50. 50. ww ww Web Web mock End to End
  51. 51. Developers Summit 2010

×