O'Reilly logo

Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites by Gigi Sayfan, Kevin Dangoor, Mark Ramm

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 21.3. Mechanize

We had some good fun testing our controllers and database application using Nose, and we’ve taken advantage of testutil. So far, all our tests took place directly on the server.

It’s time to get out into the world. In real life, sometimes you also need to test your application from the client-side. This is necessary for several reasons, even if you pedantically hand-test the output from every controller method with every conceivable combination of application state and input arguments. You still need to test your deployment story and make sure that your application is available from a different machine or, better yet, from outside the firewall. You also want to make sure that the application spits out a proper mix ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required