• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Agile Web Development with Rails and Cucumber
 

Agile Web Development with Rails and Cucumber

on

  • 2,003 views

at NagoyaRubyKaigi01

at NagoyaRubyKaigi01

Statistics

Views

Total Views
2,003
Views on SlideShare
1,716
Embed Views
287

Actions

Likes
4
Downloads
16
Comments
0

6 Embeds 287

http://d.hatena.ne.jp 172
http://coderwall.com 83
http://ruby.agile.esm.co.jp 27
http://webcache.googleusercontent.com 3
http://mi.o2.ie 1
http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

    Agile Web Development with Rails and Cucumber Agile Web Development with Rails and Cucumber Presentation Transcript

    • Agile Web Development with Rails and Cucumber
    • ✓ ✓ ✓
    • http://ruby.agile.esm.co.jp/
    • ✓ ✓ ✓
    • http://cukes.info/
    • : : "New user" "Name" "user1" "Create" "user1"
    • ✓ ✓ ✓
    • ✓ "New user" ✓ "Name" "user1" ✓ "user1"
    • ✓ : "New user" "Name" "user1" "Create" "user1"
    • ✓ : : … : …
    • ✓ ✓ ✓
    • Given /^"([^"]*)" $/ do |page_name|   visit path_to(page_name) end When /^"([^"]*)" "([^"]*)" $/ do |field, value|   fill_in(field, :with => value) end Then /^"([^"]*)" $/ do |regexp|   regexp = Regexp.new(regexp)   response.should_not contain(regexp) end
    • }
    • "New user" Given /^"([^"]*)" $/ do |page_name|   visit path_to(page_name) end
    • ✓ ✓ ✓
    • ✓ ✓ ✓ ✓
    • : : "New user" "Name" "user1" "Create" "user1"
    • ✓ ✓ ✓
    • : : "New user" "Name" "user1" "Create" "user1" ✓
    • ✓ ✓
    • ✓ ✓
    • "When you get down to nitty gritty details, drop down one abstraction level and use RSpec, or any Ruby testing framework, to write some specs/tests for your classes."
    • ✓ ✓
    • ✓ ✓ ✓
    • ✓ ✓
    • :      "articles"     "/artiles/new" "body=hoge" POST     "Article.count" 1
    • ✓ ✓
    • :     :      #       " "       " " "hoge"     ...       " "       " " " "     ...    :      # ...
    • :     :       " "       " " "hoge"     ...    :        " "       " " " "     ... Background
    • Given /^ "([^"]*)" $/ do |name|   Given %(" " )   When %(" " "#{name}" )   ... end Calling Steps from Step Definitions
    • :     :         "hoge"       " "       " " " "     ...
    • ✓ ✓
    • ✓ ✓