easygae
A Nose2 Plugin to test Google App Engine (GAE) painlessly.
Cool, but what does it do?
Features
- Inserts App Engine SDK in the Python Path.
- Prepares the Testbed and initializes the stubs for you.
Installation
Via PIP (this assumes you are in your app folder):
$ pip install easygae # This will also install Nose2
$ nose2 --plugin easygae
The plugin will look for the App Engine SDK in the following manner.
- Looks for an environment variable APPENGINE_ROOT
- Looks for a variable
appengine-root
ineasygae
section of Nose2 configuration. - Checks if
dev_appserver.py
binary is installed and calculates the SDK path from there.
Roadmap
- Provide useful and documented mocks for external services (like URLFetch)
- Make it more customizable and support Nose 2 config files.