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

Add tests #25

Open
benglass opened this issue Jun 3, 2014 · 1 comment
Open

Add tests #25

benglass opened this issue Jun 3, 2014 · 1 comment

Comments

@benglass
Copy link
Member

benglass commented Jun 3, 2014

Specifically it would be nice to have a web/functional test that filled out the survey just to make sure every step redirect to the right place based on the answer and returned a 200 status so we can be sure any change didn't break the survey.

@benglass
Copy link
Member Author

benglass commented Jun 3, 2014

Added integration test in 0ea96cd which should test the various paths through the survey in terms of answer to the questions and make sure you end up with the results in terms of whether you are shown food shelves. This doesnt test validation (missing zip, food description) or whether the data is being saved properly throughout or anything except that clicking on the various combinations of answer buttons follows the right flow and results in the correct end result in terms of whether food shelves are shown or not.

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

No branches or pull requests

1 participant