Submit Search
Upload
React testing
•
Download as PPTX, PDF
•
1 like
•
96 views
A
Andrei Fidelman
Follow
How to use Unit/e2e/shallow/snapshot in React Apps
Read less
Read more
Software
Report
Share
Report
Share
1 of 21
Download now
Recommended
QA: Tasted and APPROVED this Elixir
QA: Tasted and APPROVED this Elixir
Ronaldo Possan
QA: Provamos e APROVAMOS deste elixir
QA: Provamos e APROVAMOS deste elixir
Ronaldo Possan
I, For One, Welcome Our New Robot Overlords
I, For One, Welcome Our New Robot Overlords
Steve Malsam
Web API Test Automation using Frisby & Node.js
Web API Test Automation using Frisby & Node.js
Chi Lang Le Vu Tran
DEV.BG - Angular 1 and Jasmine (Unit Testing and TDD)
DEV.BG - Angular 1 and Jasmine (Unit Testing and TDD)
Dimitar Danailov
Working with Adwords scripts for reporting with AWQL
Working with Adwords scripts for reporting with AWQL
Steve Hammer
Plugins and Widgets, Oh My!
Plugins and Widgets, Oh My!
kerchmcc
Cucumber Presentation Kiev Meet Up
Cucumber Presentation Kiev Meet Up
dimakovalenko
Recommended
QA: Tasted and APPROVED this Elixir
QA: Tasted and APPROVED this Elixir
Ronaldo Possan
QA: Provamos e APROVAMOS deste elixir
QA: Provamos e APROVAMOS deste elixir
Ronaldo Possan
I, For One, Welcome Our New Robot Overlords
I, For One, Welcome Our New Robot Overlords
Steve Malsam
Web API Test Automation using Frisby & Node.js
Web API Test Automation using Frisby & Node.js
Chi Lang Le Vu Tran
DEV.BG - Angular 1 and Jasmine (Unit Testing and TDD)
DEV.BG - Angular 1 and Jasmine (Unit Testing and TDD)
Dimitar Danailov
Working with Adwords scripts for reporting with AWQL
Working with Adwords scripts for reporting with AWQL
Steve Hammer
Plugins and Widgets, Oh My!
Plugins and Widgets, Oh My!
kerchmcc
Cucumber Presentation Kiev Meet Up
Cucumber Presentation Kiev Meet Up
dimakovalenko
Selenium and Cucumber Selenium Conf 2011
Selenium and Cucumber Selenium Conf 2011
dimakovalenko
An Introduction to Developer Testing
An Introduction to Developer Testing
Will Green
Automated UI Testing Done Right (QMSDNUG)
Automated UI Testing Done Right (QMSDNUG)
Mehdi Khalili
Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)
Mehdi Khalili
Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully
Applitools
Developing an Ember Test Strategy - EmberConf 2019
Developing an Ember Test Strategy - EmberConf 2019
Todd Jordan
Integration Testing in Python
Integration Testing in Python
Panoptic Development, Inc.
Ember. it is time to try
Ember. it is time to try
Yaroslav Popov
Selenium
Selenium
Adam Goucher
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
Edureka!
AngularJS Testing
AngularJS Testing
Ahmed Elmehri
Selenium WebDriver: Tips and Tricks
Selenium WebDriver: Tips and Tricks
Edureka!
How to Deliver the Right Software (Specification by example)
How to Deliver the Right Software (Specification by example)
Asier Barrenetxea
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Edureka!
Browser-level testing
Browser-level testing
Martin Kleppmann
How To Use Selenium Successfully (Java Edition)
How To Use Selenium Successfully (Java Edition)
Sauce Labs
Rowdy Rabouw - Unleash your web skills on native
Rowdy Rabouw - Unleash your web skills on native
OdessaJS Conf
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
Distilled
Appium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | Edureka
Edureka!
Web Cache Deception Attack
Web Cache Deception Attack
Omer Gil
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
VICTOR MAESTRE RAMIREZ
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
Andreas Granig
More Related Content
Similar to React testing
Selenium and Cucumber Selenium Conf 2011
Selenium and Cucumber Selenium Conf 2011
dimakovalenko
An Introduction to Developer Testing
An Introduction to Developer Testing
Will Green
Automated UI Testing Done Right (QMSDNUG)
Automated UI Testing Done Right (QMSDNUG)
Mehdi Khalili
Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)
Mehdi Khalili
Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully
Applitools
Developing an Ember Test Strategy - EmberConf 2019
Developing an Ember Test Strategy - EmberConf 2019
Todd Jordan
Integration Testing in Python
Integration Testing in Python
Panoptic Development, Inc.
Ember. it is time to try
Ember. it is time to try
Yaroslav Popov
Selenium
Selenium
Adam Goucher
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
Edureka!
AngularJS Testing
AngularJS Testing
Ahmed Elmehri
Selenium WebDriver: Tips and Tricks
Selenium WebDriver: Tips and Tricks
Edureka!
How to Deliver the Right Software (Specification by example)
How to Deliver the Right Software (Specification by example)
Asier Barrenetxea
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Edureka!
Browser-level testing
Browser-level testing
Martin Kleppmann
How To Use Selenium Successfully (Java Edition)
How To Use Selenium Successfully (Java Edition)
Sauce Labs
Rowdy Rabouw - Unleash your web skills on native
Rowdy Rabouw - Unleash your web skills on native
OdessaJS Conf
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
Distilled
Appium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | Edureka
Edureka!
Web Cache Deception Attack
Web Cache Deception Attack
Omer Gil
Similar to React testing
(20)
Selenium and Cucumber Selenium Conf 2011
Selenium and Cucumber Selenium Conf 2011
An Introduction to Developer Testing
An Introduction to Developer Testing
Automated UI Testing Done Right (QMSDNUG)
Automated UI Testing Done Right (QMSDNUG)
Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)
Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully
Developing an Ember Test Strategy - EmberConf 2019
Developing an Ember Test Strategy - EmberConf 2019
Integration Testing in Python
Integration Testing in Python
Ember. it is time to try
Ember. it is time to try
Selenium
Selenium
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
AngularJS Testing
AngularJS Testing
Selenium WebDriver: Tips and Tricks
Selenium WebDriver: Tips and Tricks
How to Deliver the Right Software (Specification by example)
How to Deliver the Right Software (Specification by example)
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Browser-level testing
Browser-level testing
How To Use Selenium Successfully (Java Edition)
How To Use Selenium Successfully (Java Edition)
Rowdy Rabouw - Unleash your web skills on native
Rowdy Rabouw - Unleash your web skills on native
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
Appium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | Edureka
Web Cache Deception Attack
Web Cache Deception Attack
Recently uploaded
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
VICTOR MAESTRE RAMIREZ
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
Andreas Granig
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
OPEN KNOWLEDGE GmbH
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
VICTOR MAESTRE RAMIREZ
EY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
Neo4j
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
Power Karaoke
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio, Inc.
Professional Resume Template for Software Developers
Professional Resume Template for Software Developers
Vinodh Ram
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
Tier1 app
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
Ortus Solutions, Corp
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
gurkirankumar98700
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Ahmed Mohamed
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
Philip Schwarz
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
BradBedford3
Asset Management Software - Infographic
Asset Management Software - Infographic
Hr365.us smith
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
MyIntelliSource, Inc.
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
nada99848
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Christina Lin
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
Dinusha Kumarasiri
Recently uploaded
(20)
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
EY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Professional Resume Template for Software Developers
Professional Resume Template for Software Developers
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Asset Management Software - Infographic
Asset Management Software - Infographic
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
React testing
1.
2.
React Testing by Andrei
Fidelman @fidelman
3.
Maslow’s hierarchy of
needs React testing
4.
Cosmetic tests errors do
not violate the basic idea of code
5.
Cosmetic tests Coding
Style
6.
Cosmetic tests Coding
Style ESLint http://eslint.org/
7.
Cosmetic tests Static
Typization
8.
Cosmetic tests Static
Typization
9.
Cosmetic tests Static
Typization Flow http://flow.org/
10.
Unit tests test small
piece of code
11.
Unit tests Jest
+ Reducer = ❤️
12.
Unit tests Jest
+ Reducer = ❤️
13.
Unit tests Jest
+ Reducer = ❤️
14.
Shallow and Snapshot
test test React components
15.
Shallow and Snapshot
tests Shallow Test
16.
Shallow and Snapshot
tests Snapshot Test
17.
e2e from the beginning
to the end
18.
e2e Chromedriver +
Cabbie = 🤘
19.
Resources Chrome Driver https://sites.google.com/a/chromium.org/chromedriver/ Cabbie https://cabbiejs.org/ Enzyme http://airbnb.io/enzyme/ React Shallow https://facebook.github.io/react/docs/shallow-renderer.html React
Jest http://facebook.github.io/jest/docs/tutorial-react.html React Flow https://flow.org/en/docs/frameworks/react/ React Cookbook egghead https://egghead.io/lessons/react-testing-classname-with-shallow-rendering Facebook Test exercises https://github.com/ForbesLindesay/bulletproof-react-workshop/
20.
“Tests are stories
we tell the next generation of programmers on a project.” – Roy Osherove
21.
Q&A React Testing by Andrei
Fidelman @fidelman
Download now