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
Quick and easy browser testing using RSpec and ...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Penelope Phippen
April 29, 2018
100
1
Share
Quick and easy browser testing using RSpec and Rails 5.1
Penelope Phippen
April 29, 2018
More Decks by Penelope Phippen
See All by Penelope Phippen
Introducing Rubyfmt
penelope_zone
0
610
How RSpec Works
penelope_zone
0
6.8k
Teaching RSpec to play nice with Rails
penelope_zone
2
170
Little machines that eat strings
penelope_zone
1
130
What is processor (brighton ruby edition)
penelope_zone
0
140
What is processor?
penelope_zone
1
380
extremely defensive coding - rubyconf edition
penelope_zone
0
290
Agile, etc.
penelope_zone
2
250
Extremely Defensive Coding
penelope_zone
0
130
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
200
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
680
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.8k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
400
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
What's in a price? How to price your products and services
michaelherold
247
13k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
170
How to Talk to Developers About Accessibility
jct
2
170
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
160
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Transcript
Quick and easy browser testing using RSpec and Rails 5.1
@samphippen
Quick and easy browser testing using RSpec and Rails 5.1
2 @samphippen
It’s cool when rails versions get released
RSpec does not yet “officially” support 5.2
Literally it will work fine unless you hit this one
weird edge case in activestorage
Rails has changed
I’ve changed
None
None
None
None
None
None
None
None
Let’s talk about testing
Integrated Isolated Number of tests
Integrated Isolated Number of tests
None
Integrated Isolated Number of tests
S
Integrated Isolated Number of tests
This used to be literally the worst
Just google “rails browser testing”
None
None
None
None
None
None
None
None
None
None
None
None
None
None
#
None
None
It’s not an actual browser
None
None
None
Win.
That was too much work.
None
This is super easy in Rails 5.1 and RSpec 3.7
None
Lemme show you how easy this is
None
None
None
None
None
None
None
Implementation
None
A week after railsconf last year!
None
None
Rails does the heavy lifting.
Let’s talk about screenshots
None
None
None
None
None
None
None
Rails makes this all really easy
Rails’s API lets us provide you a good user experience
Aftermath
None
I fixed 3
None
None
“I can’t have in my green dots”
None
None
None
None
None
None
None
Open source is imperfect
I do not get paid to work on RSpec
None
My cool team is here
Thanks @samphippen
[email protected]