S is for Spec

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    5 Favorites & 1 Group

    S is for Spec - Presentation Transcript

    1. “S is for Spec”:Test Driven Development w/ RSpec KAKUTANI Shintaro; Eiwa System Management,Inc.; Nihon Ruby-no-kai
    2. ✓ ✓ ✓ ✓ http://kakutani.com
    3. RubyKaigi2008 http://jp.rubyist.net/RubyKaigi2008/
    4. Red, Green, Refactoring TEST CLUB
    5. Red, Green, Refactoring TEST CLUB
    6. ✓ ✓ ✓ ✓
    7. ✓ ✓ ✓ ✓ ✓ ✓ ✓
    8. Clean code that works, in Ron Jeffries’ pithy phrase, is the goal of Test-Driven Development(TDD).
    9. “Clean code that works”
    10. “The translation of a feeling into a test is a common theme of TDD.”
    11. ✓ ✓ ✓ ✓ ✓ ✓
    12. http://www.biwa.ne.jp/~mmura/SoftwareDevelopment/WhatIsSoftwareDesignJ.html
    13. ✓ ✓
    14. ✓ ✓ ✓ ✓ ✓ ✓
    15. ✓ ✓ ✓ ✓ ✓ ✓
    16. ✓ ✓ ✓ ✓ ✓ ✓
    17. Refactoring GREEN E D R
    18. ✓ ✓ ✓ ✓ ✓ ✓
    19. RED GREEN Refactoring
    20. The Art of Agile Development
    21. Think RED GREEN Refactoring
    22. ✓ ✓ ✓ ✓ ✓ ✓ ✓
    23. ✓ ✓ ✓ ✓
    24. ✓ ✓
    25. http://jp.rubyist.net/magazine/?0021-Rspec
    26. describe Class, \" \" do before(:each) do # end it \" \" do # end end
    27. describe Array, \"with some entries\" do before(:each) do @array = %w(A B C) end it \"should not be nil\" do @array.should_not be_nil end it \"should last element is 'C'\" do @array.last.should == 'C' end end
    28. spec -c array_spec.rb
    29. ✓ @array.last.should == 'C' # @array.last 'C' ✓ @array.should_not be_nil # @array.nil? false
    30. ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
    31. http://jp.rubyist.net/magazine/?0021-Rspec
    32. The Bowling Game Kata by Robert C.Martin(Uncle Bob) Bowling Game Kata Object Mentor, Inc. www.objectmentor.com blog.objectmentor.com fitnesse.org www.junit.org Copyright 2005 by Object Mentor, Inc All copies must retain this page unchanged. http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata
    33. http://codekata.pragprog.com/
    34. ✓ ✓ ✓ ✓ http://codekata.pragprog.com/
    35. ✓ ✓ ✓ ✓ ✓
    36. ✓ ✓
    37. 1 4 4 5 6 5 0 1 7 6 2 6 5 14 29 49 60 61 77 97 117 133 1,4,4,5,6,4,5,5, 10, 0,1,7,3,6,4,10,2,8,6
    38. ✓ ✓ ✓ ✓ ✓ ✓
    39. ✓ ✓ ✓ ✓
    40. Tyler Durden says... use Rspec.

    + Shintaro KakutaniShintaro Kakutani, 2 years ago

    custom

    4691 views, 5 favs, 2 embeds more stats

    Bowling Game Kata live coding w/ RSpec in Ruby.

    More Info

    © All Rights Reserved

    Go to text version
    • Total Views 4691
      • 4110 on SlideShare
      • 581 from embeds
    • Comments 0
    • Favorites 5
    • Downloads 84
    Most viewed embeds
    • 580 views on http://kakutani.com
    • 1 views on http://72.14.235.104

    more

    All embeds
    • 580 views on http://kakutani.com
    • 1 views on http://72.14.235.104

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as innappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel

    Categories

    Groups / Events