Slideshare.net (beta)

 
Post: 
Myspace Hi5 Friendster Xanga LiveJournal Facebook Blogger Tagged Typepad Freewebs BlackPlanet gigya icons



All comments

Add a comment on Slide 1

If you have a SlideShare account, login to comment; else you can comment as a guest


Showing 1-50 of 5 (more)

S is for Spec

From kakutani, 5 months ago

Bowling Game Kata live coding w/ RSpec in Ruby.

3602 views  |  0 comments  |  4 favorites  |  68 downloads  |  2 embeds (Stats)
 

Groups/Events

 
 

Privacy InfoNew!

This slideshow is Public

 
Embed in your blog
Embed (wordpress.com)
custom

Slideshow Statistics
Total Views: 3602
on Slideshare: 3157
from embeds: 445* * Views from embeds since 21 Aug, 07

Slideshow transcript

Slide 1: “S is for Spec”:Test Driven Development w/ RSpec KAKUTANI Shintaro; Eiwa System Management,Inc.; Nihon Ruby-no-kai

Slide 2: ✓ ✓ ✓ ✓ http://kakutani.com

Slide 6: RubyKaigi2008 http://jp.rubyist.net/RubyKaigi2008/

Slide 9: Red, Green, Refactoring TEST CLUB

Slide 16: Red, Green, Refactoring TEST CLUB

Slide 18: ✓ ✓ ✓ ✓

Slide 20: ✓ ✓ ✓ ✓ ✓ ✓ ✓

Slide 24: Clean code that works, in Ron Jeffries’ pithy phrase, is the goal of Test-Driven Development(TDD).

Slide 25: “Clean code that works”

Slide 27: “The translation of a feeling into a test is a common theme of TDD.”

Slide 29: ✓ ✓ ✓ ✓ ✓ ✓

Slide 36: http://www.biwa.ne.jp/~mmura/SoftwareDevelopment/WhatIsSoftwareDesignJ.html

Slide 37: ✓ ✓

Slide 43: ✓ ✓ ✓ ✓ ✓ ✓

Slide 44: ✓ ✓ ✓ ✓ ✓ ✓

Slide 52: ✓ ✓ ✓ ✓ ✓ ✓

Slide 53: Refactoring GREEN E D R

Slide 56: ✓ ✓ ✓ ✓ ✓ ✓

Slide 60: RED GREEN Refactoring

Slide 62: The Art of Agile Development

Slide 63: Think RED GREEN Refactoring

Slide 66: ✓ ✓ ✓ ✓ ✓ ✓ ✓

Slide 67: ✓ ✓ ✓ ✓

Slide 69: ✓ ✓

Slide 71: http://jp.rubyist.net/magazine/?0021-Rspec

Slide 73: describe Class, " " do before(:each) do # end it " " do # end end

Slide 74: 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

Slide 75: spec -c array_spec.rb

Slide 76: ✓ @array.last.should == 'C' # @array.last 'C' ✓ @array.should_not be_nil # @array.nil? false

Slide 77: ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓

Slide 79: http://jp.rubyist.net/magazine/?0021-Rspec

Slide 82: 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

Slide 83: http://codekata.pragprog.com/

Slide 84: ✓ ✓ ✓ ✓ http://codekata.pragprog.com/

Slide 85: ✓ ✓ ✓ ✓ ✓

Slide 86: ✓ ✓

Slide 87: 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

Slide 88: ✓ ✓ ✓ ✓ ✓ ✓

Slide 90: ✓ ✓ ✓ ✓

Slide 98: Tyler Durden says... use Rspec.