You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
We need to decide on the stratergy for unit tests.
There are a number of options available, and currently included in the codebase.
puppeteer - ex Routes/Login/__tests__/
Enzyme
Enzyme + react-intl wrapper - ex Routes/ForgotPassword/Routes/Request
Cypress
It would be good if we could run the E2E tests separately from the regular unit tests.
Puppeteer
Developed by google, successor to Phantom.js. Runs the tests in an actual browser.
Easy to understand syntax
Runs in headless Chrome
Enzyme
Developed by AirBnB. Runs the tests in a virtual DOM like environment.
Cypress
Similar to Puppeteer. Have built in support to record videos and screenshots of the tests. In order to assist in resolving failing tests.
Task
Evaluate different options and write a report on each with its pros and cons. as well as how they affect the developer experience (DX). The tests should be able to run in a CI environment.
The text was updated successfully, but these errors were encountered:
Description
We need to decide on the stratergy for unit tests.
There are a number of options available, and currently included in the codebase.
Routes/Login/__tests__/
Routes/ForgotPassword/Routes/Request
It would be good if we could run the E2E tests separately from the regular unit tests.
Puppeteer
Developed by google, successor to Phantom.js. Runs the tests in an actual browser.
Enzyme
Developed by AirBnB. Runs the tests in a virtual DOM like environment.
Cypress
Similar to Puppeteer. Have built in support to record videos and screenshots of the tests. In order to assist in resolving failing tests.
Task
Evaluate different options and write a report on each with its pros and cons. as well as how they affect the developer experience (DX). The tests should be able to run in a CI environment.
The text was updated successfully, but these errors were encountered: