codeforgso / GoVote

Local voter registration and election candidate application.
http://govotegso.org/
GNU General Public License v3.0
24 stars 46 forks source link

Tests for Frontend #82

Open SchaeStewart opened 6 years ago

SchaeStewart commented 6 years ago

This is a:

Enhancement

Description

The project is starting to grow and tests need to be implemented to ensure maintainability. Especially as the project expands to other brigades/organizations.

Implementation

Jest or other testing framework Integrate tests with TravisCI

IanWalston commented 4 years ago

I see @dresean has been assigned this, but it's been open a while so I wanted to offer to do this if there's still a need.

I would use cypress.io to make frontend tests

there would be functional tests for the functions such as actions/index.js, and live integration tests ( like selenium ) for the components.

cypress.io can also do api testing if people want that as well

Tr3yb0 commented 4 years ago

I have removed dresean from this issue, as I dont believe they are an active participant in the CodeforGSO org anymore. @IanWalston please feel free to submit a pull request, if you would like to work on this or reach out in the proj-govotegso Slack channel if you want to discuss options and plan a testing strategy.