GAEUnit 2.0 alpha for Django is released, please download and follow the instruction.GAEUnit is a unit test framework that helps to automate testing of your Google App Engine application. With a single configuration change (it can be completed within 30 seconds), your unit tests can be run in the real GAE app server environment using a web browser.
GAEUnit is simple. It contains only one file: gaeunit.py. Just copy that file into your application directory and add the test URL to app.yaml.
Usage
1. Configure the environment:
Copy gaeunit.py to the project directory. Add the following 2 lines to app.yaml:
- url: /test.*
script: gaeunit.py2. Write your test case scripts in Python modules, each containing unittest.TestCase subclasses, in the 'test' directory and launch dev_appserver.py
3. Browse to the following URL (change the port if necessary):
http://localhost:8080/testYour test results will be displayed in the browser:
If you wish to run a single module, execute it like this:
http://localhost:8080/test?name=my_test_moduleYou can also specify a single test class, like name=my_test_module.MyTestCase or even a single test method, like name=my_test_module.MyTestCase.test_stuff
See FeatureCandidates for a list of potential upcoming features.
Please let us know if you have interesting ideas or specific requirements for GAEUnit. Use the comments on the FeatureCandidates page, or use the Issues tab above.
30 Day Summary Apr 21 2013 — May 21 2013
|
12 Month Summary May 21 2012 — May 21 2013
|
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.