-
Notifications
You must be signed in to change notification settings - Fork 66
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
Assess suitability of TodoMVC functional tests #23
Comments
I ran the todo-mvc tests with the following results:
we should probably make an effort to fix these up so we're at least spec compliant. the test infrastructure is fairly simple, the travis yml simply downloads chromedriver, sets up a virtual framebuffer then runs the tests: the main annoyance overall is that there is no way to pull the tests without pulling down the full github repo with all the frameworks in (which is massive). to go with that the runner will only let you select from frameworks in the folder structure of the todo-mvc repo. with that in mind, we should probably just port the tests to intern - matching the assertions and selectors where possible (the test themselves test the spec well). the advantages of doing so would be that in future if we officially submit the dojo 2 todo mvc to the todo-mvc project, we can be fairly sure it's going to pass their tests (which are a requirement of submission). |
Nice work @matt-gadd. Porting the tests to intern sounds like a good approach. Keeps us using the same assertions / test spec but within our own framework. |
Nice one @matt-gadd . From a product standpoint, I think submission to todoMVC is something we would like to do for D2, so whatever allows us to do that is a worthwhile exercise. @matt-gadd or whoever will fix/port the tests, could you add a real quick points estimate to this issue please and assign yourself? |
@rishson probably needs another issue/story for the porting assuming that is the agreed approach. This ticket was to evaluate integrating these tests, which I think @matt-gadd has done 😄 |
as a side note I've also raised an issue on todo-mvc here: tastejs/todomvc#1687 |
Closing this issue now as the assessment is complete. The progress of writing the actual functional tests will be in #24 |
Related to #16
We should figure out if reusing the TodoMVC tests makes sense for us maintaining TodoMVC. It is a totally separate toolchain to what we already have integrated into the repo. While they are canonical tests, they may are may not be the sorts of tests we need to utilise TodoMVC as a proving ground to detect regressions in our other packages.
So the suitability of the tests and the ease of integrating and using them should be considered.
The text was updated successfully, but these errors were encountered: