Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Integration Testing Engines
Search
Ryan Bigg
April 26, 2012
Programming
6
470
Integration Testing Engines
This was a talk that covers the ways that you can integration test engines.
Ryan Bigg
April 26, 2012
Tweet
Share
More Decks by Ryan Bigg
See All by Ryan Bigg
Hiring Juniors - RubyConf Indonesia 2019 Closing Keynote
radar
1
410
Web Directions - Code Leaders - Hiring Juniors
radar
0
610
The Future of Rails - Take 2
radar
0
110
The Future of Rails
radar
1
120
Exploding Rails
radar
9
1.8k
Hiring Juniors
radar
2
440
The Perfect Coding Test
radar
0
120
Your First Developer Job
radar
1
110
Hiring Juniors
radar
2
280
Other Decks in Programming
See All in Programming
decksh - a little language for decks
ajstarks
4
21k
新しいモバイルアプリ勉強会(仮)について
uetyo
1
250
DynamoDBは怖くない!〜テーブル設計の勘所とテスト戦略〜
hyamazaki
0
200
STUNMESH-go: Wireguard NAT穿隧工具的源起與介紹
tjjh89017
0
350
Go製CLIツールをnpmで配布するには
syumai
2
1.2k
バイブスあるコーディングで ~PHP~ 便利ツールをつくるプラクティス
uzulla
1
330
No Install CMS戦略 〜 5年先を見据えたフロントエンド開発を考える / no_install_cms
rdlabo
0
480
JetBrainsのAI機能の紹介 #jjug
yusuke
0
200
Vibe coding コードレビュー
kinopeee
0
430
20250808_AIAgent勉強会_ClaudeCodeデータ分析の実運用〜競馬を題材に回収率100%の先を目指すメソッドとは〜
kkakeru
0
150
抽象化という思考のツール - 理解と活用 - / Abstraction-as-a-Tool-for-Thinking
shin1x1
1
960
LLMは麻雀を知らなすぎるから俺が教育してやる
po3rin
3
2.1k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
760
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Practical Orchestrator
shlominoach
190
11k
Measuring & Analyzing Core Web Vitals
bluesmoon
8
550
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Balancing Empowerment & Direction
lara
1
540
For a Future-Friendly Web
brad_frost
179
9.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Transcript
Integration testing engines Thursday, 26 April 12
Disagree. Thursday, 26 April 12
Rails.application.routes.draw Thursday, 26 April 12
Rails.application.routes.draw bullshit. Thursday, 26 April 12
Nooooooo do not draw routes on the application!!! Fuck. I
want to jump on stage. #railsconf https://twitter.com/ryanbigg/status/194501115524554754 Thursday, 26 April 12
Your::Engine.routes.draw Thursday, 26 April 12
Your::Engine.routes.draw real talk. Thursday, 26 April 12
Strongly Disagree. Thursday, 26 April 12
mount Your::Engine, :at => “path” Thursday, 26 April 12
mount Your::Engine, :at => “/” Thursday, 26 April 12
OMG!!! MY ROUTES ARE BROKEN!!! Thursday, 26 April 12
No. They’re not “broken” Thursday, 26 April 12
They are elsewhere. Thursday, 26 April 12
module Your class Engine < Rails::Engine isolate_namespace end end Thursday,
26 April 12
Your::Engine.routes.draw do resources :people end Thursday, 26 April 12
Rails.application.routes.draw do resources :people end Thursday, 26 April 12
your_engine.people_path main_app.people_path Thursday, 26 April 12
describe Spree::ProductsController it “should get all products” do get :index
end end Thursday, 26 April 12
Thursday, 26 April 12
No route matches { :controller => “Spree::ProductsController”, :action => “index”
} Thursday, 26 April 12
Lies, damned lies. Thursday, 26 April 12
describe Spree::ProductsController it “should get all products” do get :index,
:use_route => :spree end end Thursday, 26 April 12
describe “products” do it “sees products” do visit products_path end
end Thursday, 26 April 12
Thursday, 26 April 12
undefined method `products_path’ Thursday, 26 April 12
Lies, damned lies. (again) Thursday, 26 April 12
module Spree::Core::UrlHelpers def spree Spree::Core::Engine.routes.url_helpers end end Thursday, 26 April
12
describe “products” do it “sees products” do visit spree.products_path end
end Thursday, 26 April 12
Thursday, 26 April 12
Rails 3 in Action manning.com/katz Chapter Thursday, 26 April 12