4 ms·
I do this all the time. The main idea is documented here: https://github.com/renzon/tekton/wiki https://github.com/renzon/tekton/wiki You can see tests all ov
by renzon 12y ago
I do this all the time. The main idea is documented here:
https://github.com/renzon/tekton/wiki https://github.com/renzon/tekton/wiki
You can see tests all over my repos starting with prefix "gae".Here you have a example of a app that I build to automate form validation:
https://github.com/renzon/gaeforms/blob/master/test/ndb/form_tests.py https://github.com/renzon/gaeforms/blob/master/test/ndb/form...
It includes db access and i18n mocking.
- rbanffy 12y agoI think I took a longer path with https://github.com/rbanffy/testable_appengine https://github.com/rbanffy/testable_appengine I like your approach with mocks.