Wolfinbarger / game-recommender

A full-stack web app that helps you discover awesome games to play with your friends or solo.
0 stars 0 forks source link

47 issue standup testing framework for UI #63

Open Wolfinbarger opened 2 months ago

Wolfinbarger commented 2 months ago

Added the following:

  1. Jest: [Jest - JavaScript Testing Framework](https://jestjs.io/)
  2. Cypress: [Cypress - Frontend Testing Framework](https://www.cypress.io/)
  3. Lighthouse: [Lighthouse - Performance Auditing Tool](https://developers.google.com/web/tools/lighthouse)
  4. pa11y: [pa11y - Automated Accessibility Testing](https://pa11y.org/)
  5. Selenium WebDriver: [SeleniumHQ - Browser Automation](https://www.selenium.dev/)
  6. Appium: [Appium - Mobile Automation Made Awesome](http://appium.io/)

To run Jest test.

yarn test

Or to test coverage:

yarn test --coverage

To run Cypress

yarn cypress:open

Lighthouse outside of just the CLI comes with an extension that can be found here

Note: Will reactively add tests moving forward.

Also rearrange frontend package.json for dependencies and devdependencies.