Closed toplinuxsir closed 8 years ago
Hi @toplinuxsir, unfortunately the test client (#40) is planned for the next release. 0.6 should come by the end of the year, with this revision testing facilities will be implemented and documented.
Thanks for your work!
Giovanni Barillari notifications@github.com于2015年12月4日 周五下午6:48写道:
Hi @toplinuxsir https://github.com/toplinuxsir, unfortunately the test client (#40 https://github.com/gi0baro/weppy/issues/40) is planned for the next release. 0.6 should come by the end of the year, with this revision testing facilities will be implemented and documented.
— Reply to this email directly or view it on GitHub https://github.com/gi0baro/weppy/issues/70#issuecomment-161935601.
@toplinuxsir I've just pushed on master a first implementation of the testing suite with https://github.com/gi0baro/weppy/commit/10b174a8a512cc8e39cb1b8a0302e17658470d99
I have to write the documentation, but if you look at https://github.com/gi0baro/weppy/blob/master/examples/bloggy/tests.py it might give you an idea on how it works (pytest based tests, but you can use unittest2 or whatever). Feedbacks are always welcome :)
I'm closing this since 0.6 is released. Check out the documentation for the tests: http://weppy.org/docs/0.6/testing
I think this is a wonderfull python web framework , But, I can not find how to write test for my webpy app in official document.