Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

For each question, write a Karma integration test to ensure that all the tasks can be passed. #259

Open
seanlip opened this issue Apr 26, 2017 · 1 comment

Comments

@seanlip
Copy link
Member

seanlip commented Apr 26, 2017

In order to make sure that at least the demo questions are playable end-to-end, as well as guard against possible errors on the part of the question author, it might be nice to write a Karma test (for each question) that mimics a complete answer/feedback flow, all the way to the completion of all the tasks in the question. This would ensure that each question is completable, and help guard against errors arising during content development.

It might also be helpful to have one e2e Protractor test that mimics an end-to-end playthrough of a single question and checks that the right things get displayed in the right places.

@seanlip seanlip changed the title For each question, write an integration test to ensure that all the tasks can be passed. For each question, write a Karma integration test to ensure that all the tasks can be passed. Apr 26, 2017
@seanlip
Copy link
Member Author

seanlip commented Apr 26, 2017

Note: This might be as straightforward as specifying a "correct answer" in each question schema, which would pass all the tests.

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

No branches or pull requests

1 participant