i was wondering what you'r using to test your python wsgi apps and which one is the most updated and easiest to setup.
im on appengine python and i would like to start writing tests fo开发者_StackOverflow中文版r my handlers.
i've see gaeunit and nose-gae and if there are some more out there and what you think about them.
I use webtest with nose-gae. While it doesn't emulate javascript, it is a great way to exercise each handler in your app, and has nice support for forms too.
For more detail testing of each edge case, I would factor our utilities / model related logic from the handlers and write tests for those separately. But it is nice to have some end to end tests, and webtest works great for that.
加载中,请稍侯......
精彩评论