Python Debugging with pdb

Published September 29th, 2011 Under Unit Testing | Leave a Comment

This video explains how you can debug a Python applications with pdb,the Python debugger.

Video Source: http://marakana.com/forums/python/python/423.html

Reflections on a Year of Functional Web Testing

Published June 22nd, 2010 Under Functional Testing, Software Testing | Leave a Comment

What I Learned at PyCon… Last Year: Jason Kirtland shares his reflections on lessons learned while implementing functional testing techniques over the past year at Idealist.org.

Producer: Portland Python User Group

Functional Testing Tools in Python

Published February 15th, 2010 Under Functional Testing | Leave a Comment

As we become more efficient at producing web sites, inevitably the issue of quality (or lack thereof) can begin to slow the velocity at which implementation teams are able to move forward. Functional testing tools can help increase quality, bolster team confidence and keep things running smoothly. This panel will bring together the maintainers of several functional testing frameworks written in Python. The session will be split into three distinct parts:
1. A lightning talk style introduction to each framework.
2. A guided discussion around the application of each framework.
3. A question and answer session with the audience.

Slides of the presentation

Paver: easy build and deployment automation for Python projects

Published February 3rd, 2010 Under Configuration Management | Leave a Comment

Paver makes managing common aspects of Python projects easier, by providing just the right kind of scaffolding on which to automate building and packaging of your software. In this talk, you’ll see how easy it is to get started with Paver, how you can use Paver without alienating other users of your code, and how you can use Paver to trivially extend Python’s distutils commands.

All I really need to know about [testable, maintainable, packagable] “scripts”

Published January 27th, 2010 Under Software Testing | Leave a Comment

“Scripting” with Python is becoming more common. This talk will discuss why you would want to “script” with Python (instead of say bash). It will also discuss best practices that will allow you to actually test your scripts, maintain them over time, and easily distribute them. Python has some advantages to bash in these areas.

Presentation slides

Functional Testing of Desktop Applications

Published January 6th, 2010 Under Functional Testing, Software Testing | Leave a Comment

Many advocates of unit testing believe that testing desktop (GUI) applications is so difficult as to not be worth it. Not only is it possible, but ‘functional testing’ (testing an application from the point of view of the user) is an important part of an agile development process. This talk is based on my experience of testing a spreadsheet application. Whether you have drunk the agile kool-aid or not, functional testing can improve your application and your development processes. The basic topics covered are:
* Why test functionally (including some unexpected benefits)
* The processes and infrastructure around automated tests
* How to functionally test – general principles and specific examples
* Difficulties and fragilities – and how to minimize them

Slides of the presentation

Building Tests for Large, Untested Codebases

Published December 31st, 2009 Under Unit Testing | Leave a Comment

Covering large codebases with automated tests is a challenging and frustrating task that can be made much easier by approaching the problem systematically and choosing good tools. I will discuss a number of approaches and freely available tools that can help people “tame” pre-existing codebases with automated tests, and show the evolution of tests for a complex codebase under these approaches and tools.

keep looking »