Testing Front End applications can be hard to wrap your head around. We will dig into how we test new React features for high traffic web applications using Jest, and Enzyme. We will cover the three levels of testing:��
- Unit testing React
- Behavioral testing our interactive React Components
- Integration testing our entire application.
Slides: Mastering React: How To Test Your React Application Slides
- Run
npm install && npm start
- Run
npm test
-
Download latest selenium standalone server
curl -O http://selenium-release.storage.googleapis.com/3.5/selenium-server-standalone-3.8.1.jar
-
Download the latest version geckodriver
curl -L https://github.com/mozilla/geckodriver/releases/download/v0.16.0/geckodriver-v0.16.0-macos.tar.gz | tar xz
-
Run
npm start
-
In a new terminal, run
npm run start:selenium
-
In a new terminal, run
npm run test:e2e
Don't hesitate to create a pull request. Every contribution is appreciated. In development you can start the tests by calling npm test
. Checkout our contribution README for more info.
Joe Karlsson |