Skip to content

Triangle Python Users Group: TriPython (formerly TriZPUG)

Personal tools
You are here: Home » Members » tbryan's Home » Unit testing in Python and Plone

TriPython January, April, July, and October general meetings and monthly second Wednesday project nights meet at:

UNC Renaissance Computing Institute

TriPython February, May, August, and November general meetings meet at:

WebAssign: Online Homework and Grading

TriPython monthly first Tuesday project nights meet at:

Red Hat Annex

TriPython March, June, September, and December general meetings and monthly third Monday project nights meet at:

Caktus Consulting Group
Log in

Unit testing in Python and Plone

Document Actions
I gave a presentation on Unit Testing in Python and Plone at the January 2005 TriZPUG meeting. This document provides access to the materials used in the talk and links to sites for further reading.
Online copy of my unit test slides, including speaker's notes, from my PyCon 2003 tutorial. I used several of these slides to explain unit testing in general and Python's unittest module in particular.
FTP access to the code shown in the PyCon 2003 unit test slides.
Stefan Holek's tutorial on PloneTestCase. I used the PDF of Stefan's Plone Conference 2004 talk when explaining PloneTestCase. You can also get mentioned in the PDF file on this page. Note that you'll need to get both PloneTestCase and ZopeTestCase from the Plone Collective CVS repository. Do not use the ZopeTestCase release available from Stefan's pages. It is not 100% compatible with the version of PloneTestCase that you'll need to get from CVS.
The Plone Collective site. I showed unit tests that I wrote for one of the Collective's projects (PloneHelpCenter) during my presentation. We installed Archetypes 1.3.1, DocFinderTab 0.5.2, and PloneHelpCenter (from CVS) so that we all had a good environment for running and writing PloneHelpCenter unit tests.
The main Plone site. Plone is a content management system built on top of Plone. Part of my January 2005 presentation involved PloneTestCase a unittest-based framework for writing unit tests for Plone code.
The main Zope community site. Plone is built on top of the Zope web application server.
Test Driven Development: By Example, by Kent Beck. A good book to read if you're interested in test driven or test first development, a style of programming where you write the test before the code.
Extreme Programming group that meets in Cary. I've been told that attendance at meetings varies even more widely than the TriZPUG meeting attendance does.
A Triangle area (Raleigh, Durham, Chapel Hill) .NET user group. One of their new special interest groups focuses on Test Driven Development.
More links provided with my PyCon 2003 tutorial.

June 20-21, 2020
at Red Har Annex:


TriPython endorses:

PyLadies RDU

Upcoming Events
Durham Project Night
Caktus Group Tech Space, 108 Morris St., Durham,
TriPython November 2019 Meeting: Surviving without Python
WebAssign, NCSU Centennial Campus, 1791 Varsity Drive, Suite 200, Raleigh,
Raleigh Project Night
Red Hat Annex, 190 E Davie St, Raleigh,
Chapel Hill Project Night
Renaissance Computing Institute (RENCI), Biltmore Conference Room, 5th Floor, Europa Center, 100 Europa Drive, Suite 590, Chapel Hill,
Durham Project Night
Caktus Group Tech Space, 108 Morris St., Durham,
« November 2019 »
Su Mo Tu We Th Fr Sa
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
18:00-21:00 Chapel Hill Project Night
18:00-21:00 Durham Project Night
19:00-21:00 TriPython November 2019 Meeting: Surviving without Python
Orders over $29.95 qualify for free shipping in the US.