Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Quick and easy browser testing using RSpec and ...
Search
Penelope Phippen
April 29, 2018
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Quick and easy browser testing using RSpec and Rails 5.1
Penelope Phippen
April 29, 2018
Transcript
92 slides
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]
More Decks by Penelope Phippen
See All by Penelope Phippen
Introducing Rubyfmt
penelope_zone
0
640
How RSpec Works
penelope_zone
0
6.9k
Teaching RSpec to play nice with Rails
penelope_zone
2
190
Little machines that eat strings
penelope_zone
1
150
What is processor (brighton ruby edition)
penelope_zone
0
160
What is processor?
penelope_zone
1
400
extremely defensive coding - rubyconf edition
penelope_zone
0
310
Agile, etc.
penelope_zone
2
270
Extremely Defensive Coding
penelope_zone
0
160
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
530
Chasing Engaging Ingredients in Design
codingconduct
0
410
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
340
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
[SF Ruby Conf 2025] Rails X
palkan
3
1.6k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Ruling the World: When Life Gets Gamed
codingconduct
0
450