Submit Search
Upload
Front end testing you won't hate
•
1 like
•
244 views
W
Will Mitchell
Follow
Talk for Little Rock Tech Fest
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 44
Download now
Download to read offline
Recommended
Software testing myths
Software testing myths
Rakesh Hansalia
iHale Milestone 1 Feedback
iHale Milestone 1 Feedback
Philip Johnson
Test Driven Development
Test Driven Development
CodeAndroid
Static analysis is most efficient when being used regularly. We'll tell you w...
Static analysis is most efficient when being used regularly. We'll tell you w...
PVS-Studio
React performance
React performance
Derek Willian Stavis
Integrate Visual AI Into Your Appium Scripts in Minutes
Integrate Visual AI Into Your Appium Scripts in Minutes
Applitools
Why Your Selenium Tests are so Dang Brittle, and What to Do About It
Why Your Selenium Tests are so Dang Brittle, and What to Do About It
Jay Aho
Microservices Summit - The Human Side of Services
Microservices Summit - The Human Side of Services
Yelp Engineering
Recommended
Software testing myths
Software testing myths
Rakesh Hansalia
iHale Milestone 1 Feedback
iHale Milestone 1 Feedback
Philip Johnson
Test Driven Development
Test Driven Development
CodeAndroid
Static analysis is most efficient when being used regularly. We'll tell you w...
Static analysis is most efficient when being used regularly. We'll tell you w...
PVS-Studio
React performance
React performance
Derek Willian Stavis
Integrate Visual AI Into Your Appium Scripts in Minutes
Integrate Visual AI Into Your Appium Scripts in Minutes
Applitools
Why Your Selenium Tests are so Dang Brittle, and What to Do About It
Why Your Selenium Tests are so Dang Brittle, and What to Do About It
Jay Aho
Microservices Summit - The Human Side of Services
Microservices Summit - The Human Side of Services
Yelp Engineering
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Applitools
Using Selenium to Test Native Apps (Wait, you can do that?)
Using Selenium to Test Native Apps (Wait, you can do that?)
Sauce Labs
Mobile Testing at Gilt
Mobile Testing at Gilt
Gilt Tech Talks
Quality of Bug Reports in Open Source
Quality of Bug Reports in Open Source
Thomas Zimmermann
Continuous Integration
Continuous Integration
Liyao Chen
Let's test!
Let's test!
Andrea Giuliano
Writing testable code
Writing testable code
Martin Hlaváč
Seconf2011 database driven combinatorial testing
Seconf2011 database driven combinatorial testing
Aaron Silverman
Narrow Down What to Test
Narrow Down What to Test
Zsolt Fabok
Move test planning before implementation
Move test planning before implementation
Ted Cheng
Justin Ison
Justin Ison
CodeFest
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
TEST Huddle
Graceful Failure with Selenium and Continuous Integration
Graceful Failure with Selenium and Continuous Integration
Chris B. France
Automated Exploratory Testing
Automated Exploratory Testing
Justin Ison
Testing smells
Testing smells
Sidu Ponnappa
Test Dependencies and the Future of Build Acceleration
Test Dependencies and the Future of Build Acceleration
New York City College of Technology Computer Systems Technology Colloquium
Myths and reality about software testing
Myths and reality about software testing
Alisha Henderson
Poing: a coder’s take on protein modelling
Poing: a coder’s take on protein modelling
Biogeeks
I Smell A RAT- Rapid Application Testing
I Smell A RAT- Rapid Application Testing
Peter Presnell
Fact or Fiction? What Software Analytics Can Do For Us
Fact or Fiction? What Software Analytics Can Do For Us
Andy Zaidman
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
NikhilNagaraju
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
More Related Content
Similar to Front end testing you won't hate
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Applitools
Using Selenium to Test Native Apps (Wait, you can do that?)
Using Selenium to Test Native Apps (Wait, you can do that?)
Sauce Labs
Mobile Testing at Gilt
Mobile Testing at Gilt
Gilt Tech Talks
Quality of Bug Reports in Open Source
Quality of Bug Reports in Open Source
Thomas Zimmermann
Continuous Integration
Continuous Integration
Liyao Chen
Let's test!
Let's test!
Andrea Giuliano
Writing testable code
Writing testable code
Martin Hlaváč
Seconf2011 database driven combinatorial testing
Seconf2011 database driven combinatorial testing
Aaron Silverman
Narrow Down What to Test
Narrow Down What to Test
Zsolt Fabok
Move test planning before implementation
Move test planning before implementation
Ted Cheng
Justin Ison
Justin Ison
CodeFest
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
TEST Huddle
Graceful Failure with Selenium and Continuous Integration
Graceful Failure with Selenium and Continuous Integration
Chris B. France
Automated Exploratory Testing
Automated Exploratory Testing
Justin Ison
Testing smells
Testing smells
Sidu Ponnappa
Test Dependencies and the Future of Build Acceleration
Test Dependencies and the Future of Build Acceleration
New York City College of Technology Computer Systems Technology Colloquium
Myths and reality about software testing
Myths and reality about software testing
Alisha Henderson
Poing: a coder’s take on protein modelling
Poing: a coder’s take on protein modelling
Biogeeks
I Smell A RAT- Rapid Application Testing
I Smell A RAT- Rapid Application Testing
Peter Presnell
Fact or Fiction? What Software Analytics Can Do For Us
Fact or Fiction? What Software Analytics Can Do For Us
Andy Zaidman
Similar to Front end testing you won't hate
(20)
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Using Selenium to Test Native Apps (Wait, you can do that?)
Using Selenium to Test Native Apps (Wait, you can do that?)
Mobile Testing at Gilt
Mobile Testing at Gilt
Quality of Bug Reports in Open Source
Quality of Bug Reports in Open Source
Continuous Integration
Continuous Integration
Let's test!
Let's test!
Writing testable code
Writing testable code
Seconf2011 database driven combinatorial testing
Seconf2011 database driven combinatorial testing
Narrow Down What to Test
Narrow Down What to Test
Move test planning before implementation
Move test planning before implementation
Justin Ison
Justin Ison
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Graceful Failure with Selenium and Continuous Integration
Graceful Failure with Selenium and Continuous Integration
Automated Exploratory Testing
Automated Exploratory Testing
Testing smells
Testing smells
Test Dependencies and the Future of Build Acceleration
Test Dependencies and the Future of Build Acceleration
Myths and reality about software testing
Myths and reality about software testing
Poing: a coder’s take on protein modelling
Poing: a coder’s take on protein modelling
I Smell A RAT- Rapid Application Testing
I Smell A RAT- Rapid Application Testing
Fact or Fiction? What Software Analytics Can Do For Us
Fact or Fiction? What Software Analytics Can Do For Us
Recently uploaded
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
NikhilNagaraju
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
DeepakSakkari2
Past, Present and Future of Generative AI
Past, Present and Future of Generative AI
abhishek36461
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
ssuser7cb4ff
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Anamika Sarkar
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
KurinjimalarL3
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
purnimasatapathy1234
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
GDSCAESB
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
null - The Open Security Community
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
vipinkmenon1
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
ranjana rawat
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
DeelipZope
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
misbanausheenparvam
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
VICTOR MAESTRE RAMIREZ
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
soniya singh
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
9953056974 Low Rate Call Girls In Saket, Delhi NCR
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
Mark Billinghurst
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
959SahilShah
Recently uploaded
(20)
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
Past, Present and Future of Generative AI
Past, Present and Future of Generative AI
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
Front end testing you won't hate
1.
This slide is
about me I’m Will!
2.
Turing School of
Software and Design
3.
Testing is great!
4.
Testing is a
waste of time!
5.
Testing makes our
code: • Scalable • Durable • Compact • Well documented • Fault tolerant
6.
Ok, a little
more about me
7.
Tests are Veggies
for our code!
8.
But front end
is just arts and crafts…
9.
Front end apps
are complex too
10.
ES6 Warning
11.
Don’t want to
read code off the screen? I don’t blame you
12.
@wvmitchell eat_yo_veggies
13.
14.
Testing with Jest
15.
Jest - A test
runner - An assertion library - A mocking/spying utility
16.
Consider a common
use case
17.
Is fetch called
correctly?
18.
Does it return
data?
19.
Does it throw
the proper error?
20.
Snapshots with Jest
21.
Snapshot track changes over
time Snapshot Current Test passes!
22.
Snapshot track changes over
time Snapshot Current Test fails!
23.
More on snapshots later…
24.
An absurdly brief introduction
to React
25.
App Component AddVeggiesForm Component VeggiesContainer
Component Broccoli Kale Carrots Peas
26.
AddVeggiesForm New Vegetable Add it
27.
Enzyme?
28.
AddVeggiesForm New Vegetable Add it
29.
AddVeggiesForm.js AddVeggiesForm.test.js
30.
AddVeggiesForm.js AddVeggiesForm.test.js
31.
Generated snapshot:
32.
AddVeggiesForm.js AddVeggiesForm.test.js
33.
Generated snapshot:
34.
AddVeggiesForm.js AddVeggiesForm.test.js
35.
AddVeggiesForm.js AddVeggiesForm.test.js
36.
AddVeggiesForm.js AddVeggiesForm.test.js
37.
Whew! that’s a
lot of code on slides
38.
What about end
to end tests?
39.
shallow vs mount
40.
Ok, just one
more…
41.
Using mount
42.
There’s so much more
43.
Last thoughts
44.
@wvmitchell Thanks!
Download now