Unit testing, autotesting & Google App Engine for 'Rubyists'

If you are a familiar with Ruby, not familiar with Python, and looking to get your feet wet with Google App Engine & Python, this might be helpful.

I have about 20 hours of Python experience at this point, so take everything I write here with severe skepticism.

I am used to using various test/spec suites when coding Ruby projects, and I wanted something to do just that with Python and GAE.

After installing Google App Engine, the tools you want will be

nose, a unit testing framework
http://somethingaboutorange.com/mrl/projects/nose/0.11.1/

NoseGAE, nose plugin for creating an GAE environment
http://farmdev.com/projects/nosegae/

autonose, similar functionality to ruby's autotest
http://github.com/gfxmonk/autonose

After you have created some tests in , ROOT/tests

`nose --with-gae`

To run autonose I use

`autonose --console -x --with-gae`

Happy coding...

Loading mentions Retweet
Filed under  //   gae   python   testing  

Comments [0]

About