Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Cypress for testing #431

Open
benwiley4000 opened this issue Sep 27, 2019 · 1 comment
Open

Set up Cypress for testing #431

benwiley4000 opened this issue Sep 27, 2019 · 1 comment

Comments

@benwiley4000
Copy link
Owner

In #35 I was thinking Jest was the way to go for testing but given 1. our dependency on the browser for stuff and 2. the probable need to do some end-to-end testing, I think Cypress would be a better. I just learned about https://github.com/bahmutov/cypress-react-unit-test which lets us easily mount React components with arbitrary props then run different sorts of tests on them.

It would be great for Hacktoberfest to gather some volunteers to contribute end-to-end (or other) tests for components, but setting up Cypress and making the contribution process easy is a pre-requisite.

@Christine-Pinto
Copy link

@benwiley4000 For the set up for cypress it would be good to have 1 simple test running. Is there a demo page where xou can run the test against it or is there a docker set up to run the test against it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants