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
Testing: Add tests for the existing QuestionWidgets. #1426
Comments
We want to ensure that the Answer functionality is the same before and after our refactor coming in #1423 and #1422. This includes both the way The first test was AlignedImageWidget as it is easily generalizable to the other "Binary Name Widgets", including:
The other Binary Widget implementations also share major functionality—hopefully we can provide a similarly generalizable test for them:
The remaining Widgets share a bit less in common, but there should still be opportunities for grouping them and knocking them out together. |
Tests are coming along albeit slowly. The first three BNWs have tests at this point, and I've managed to generalize them so the remaining ones should hopefully go quicker. |
Finished Widgets:
These Widgets don't provide answer functionality and will not be tested:
|
Just a few left, planning on wrapping them up tomorrow morning. Sorry for the delay, didn't have as much free time as I was hoping last week! |
This is an intermediate step in preparation for #378, and should be completed before #1423 .
In order to make sure our refactors don't change things they shouldn't, I propose adding tests around Widget construction and updating.
The text was updated successfully, but these errors were encountered: