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
480
6
Share
Integration Testing Engines
This was a talk that covers the ways that you can integration test engines.
Ryan Bigg
April 26, 2012
More Decks by Ryan Bigg
See All by Ryan Bigg
Hiring Juniors - RubyConf Indonesia 2019 Closing Keynote
radar
1
450
Web Directions - Code Leaders - Hiring Juniors
radar
0
690
The Future of Rails - Take 2
radar
0
140
The Future of Rails
radar
1
150
Exploding Rails
radar
9
1.9k
Hiring Juniors
radar
2
470
The Perfect Coding Test
radar
0
140
Your First Developer Job
radar
1
120
Hiring Juniors
radar
2
290
Other Decks in Programming
See All in Programming
GoogleCloudとterraform完全に理解した
terisuke
1
180
GitHubCopilotCLIをはじめよう.pdf
htkym
0
320
Kingdom of the Machine
yui_knk
2
1.4k
Back to the roots of date
jinroq
0
650
CDK Deployのための ”反響定位”
watany
5
930
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
970
Explore CoroutineScope
tomoeng11
0
150
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
160
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
160
CursorとClaudeCodeとCodexとOpenCodeを実際に比較してみた
terisuke
1
520
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
390
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
250
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
Between Models and Reality
mayunak
3
280
Documentation Writing (for coders)
carmenintech
77
5.3k
Balancing Empowerment & Direction
lara
6
1.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
A Tale of Four Properties
chriscoyier
163
24k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
290
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
How to Ace a Technical Interview
jacobian
281
24k
Designing for Performance
lara
611
70k
Visualization
eitanlees
150
17k
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