Skip to content

Triangle Python Users Group: TriPython (formerly TriZPUG)

Sections
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 and monthly first Tuesday project nights meet at:

WebAssign: Online Homework and Grading

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.

http://starship.python.net/crew/tbryan/UnitTestTalk/index.html
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://starship.python.net/pub/crew/tbryan/
FTP access to the code shown in the PyCon 2003 unit test slides.
http://zope.org/Members/shh/Tutorial
Stefan Holek's tutorial on PloneTestCase. I used the PDF of Stefan's Plone Conference 2004 talk when explaining PloneTestCase. You can also get test.py 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 zope.org pages. It is not 100% compatible with the version of PloneTestCase that you'll need to get from CVS.
http://www.sf.net/projects/collective/
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.
http://www.plone.org/
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.
http://www.zope.org/
The main Zope community site. Plone is built on top of the Zope web application server.
http://www.amazon.com/exec/obidos/tg/detail/-/0321146530/002-9126650-4987230
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.
http://txpug.editme.com/Home
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.
http://www.trinug.org/
A Triangle area (Raleigh, Durham, Chapel Hill) .NET user group. One of their new special interest groups focuses on Test Driven Development.
http://starship.python.net/crew/tbryan/UnitTestTalk/slide41.html
More links provided with my PyCon 2003 tutorial.

September 14-16, 2016:

PyData Carolinas 2016

TriPython endorses:

PyLadies RDU

Upcoming Events
Raleigh Project Night
WebAssign, NCSU Centennial Campus, 1791 Varsity Drive, Suite 200, Raleigh,
2017-03-07
Chapel Hill Project Night
Renaissance Computing Institute (RENCI), Biltmore Conference Room, 5th Floor, Europa Center, 100 Europa Drive, Suite 590, Chapel Hill,
2017-03-08
Durham Project Night
Caktus Group Tech Space, 108 Morris St., Durham,
2017-03-20
« February 2017 »
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        
2017-02-07
18:00-21:00 Raleigh Project Night
2017-02-08
18:00-21:00 Chapel Hill Project Night
2017-02-20
18:00-21:00 Durham Project Night
2017-02-23
19:00-21:00 TriPython February 2017 Meeting: Android Apps in Python using python-for-android
Orders over $29.95 qualify for free shipping in the US.