Closed mijdavis2 closed 7 years ago
WIP - need to fix ci testing config
@mijdavis2 wow, this is huge.
I really appreciate your efforts on this, but I think we can build up something light for the auth integration tests, maybe using the weppy included testing client.
Moreover, in the next weeks/months I will proceed with #134, so the auth module will be something totally different and writing tests during the refactoring seems to be smarter, since we can avoid to rewrite them again after the refactoring.
Maybe I can assign something to you during the refactoring, but right now I think the best option is to reject this PR :/
Let me know if you have any considerations about this.
@gi0baro - hey no worries!
It is basically a copy/paste from additions I've made to starter_weppy so no big deal. This forced me to get acquainted with tox and phantomjs so still worth it 👍 .
Problem
No integration tests. This resulted in an AuthUser bug in 0.7.9 that wasn't caught for too long.
Solution
Result
🎉 more test coverage 😄
Caveats
This is a bit beefy for the integration coverage this gets us.
Not sure if that's fine and we can just add on tests to this test app or if it's preferable to strip down the app to bare minimum to get the test coverage. Maybe even better to pull out test app into a submodule? Thoughts?