Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine Python Unit Tests

I'd like to write some Python unit tests for my Google App Engine. How can I set that up? Does someone happen to have some sample code which shows how to write a simple test?

like image 876
oneself Avatar asked May 01 '10 17:05

oneself


People also ask

Is Python capable to discover unit tests?

Python provides the unittest module to test the unit of source code. The unittest plays an essential role when we are writing the huge code, and it provides the facility to check whether the output is correct or not.

Is Python used in App Engine?

App Engine offers you a choice between two Python language environments.


1 Answers

GAEUnit is a unit test framework that helps to automate testing of your Google App Engine application.

Update: The Python SDK now provides a testbed module that makes service stubs available for unit testing. Documentation here.

like image 178
jbochi Avatar answered Oct 17 '22 14:10

jbochi