###################### Unit Testing in Python ###################### - Aug 13, 2008: `Testing RESTful web services in Django -- Tantalizingly Close. `_ Thanks to whoever put the testserver into Django.  What a helpful thing.  It doesn't solve all my testing problems, but it sure beats the alternative. The big Pain In The Ass is moving from built-in unit tests to full REST tests using a REST client. - Dec 24, 2007: `How Essential Is Unit Testing?  Or, How Do We Make It Essential? `_ A client said they couldn't do unit testing.  I've seen blog postings about how hard it is.  I think I may see the underlying problem.  While it is funny to see people try to wriggle out of testing, what I think is required is a set of meta-quality attributes. - Aug 14, 2007: `User Interface Testing `_ "We have a web application; it takes forever to test.  What do we do?" - Oct 11, 2006: `Refactoring and Unit Testing `_ Look at Tim Bray's posting on Refactoring, "`Oooh, Cédric `__ ". An interesting comment is in "`Python/Ruby: script languages, nothing more `__ ". - Apr 17, 2006: `Doctest beyond Python `_ Ian Bicking has some notes on using Doctest to debug Logo programs [`link `__ ]. - Feb 27, 2006: `Agile Testing Goodies from PyCon 2006 `_ See Agile Testing [`link `__ ] PyCon 2006 tutorial on testing frameworks and how they fit together. - Dec 26, 2005: `testresources `_ TestResources extends the TestCase and TestRunner to optimize a number of tests around the resources used. - Dec 20, 2005: `SubUnit `_ SubUnit extends the definition of Test Runners to reach outside Python. - Dec 15, 2005: `Twisted Trial `_ Since this is intimately married to Twisted, it may not be appropriate as a stand-alone testing tool. However, it has some slick extensions to the Fixture and TestSuite patterns. - Dec 13, 2005: `More Frameworks! (rev. 3) `_ Seven more testing tools (frameworks?) - Nov 09, 2005: `Compare and Contrast (round 3, revised) `_ Using the original Beck Test Framework as a yardstick. Part 3: nose, TestOOB, test.py. These three leverage the existing unittest (pyunit) module - Nov 07, 2005: `Compare and Contrast (round 2) `_ Using the original Beck Test Framework as a yardstick. Part 2: py.test. Why this one product? Because it stands alone, unlike nose and TestOOB. - Nov 05, 2005: `Compare and Contrast (round 1) `_ Using the original Beck Test Framework as a yardstick. Part 1: unittest and doctest. - Nov 02, 2005: `Python Unit Testing Frameworks (v3) `_ Yes, there are a bunch. This means that (a) it's important and (b) it's easy. Everyone can throw their hat in this ring. .. raw:: html Building Skills Content Management Culture of Complexity Data Structures and Algorithms Databases and Python DocBook Economics of Software Macintosh Methodology for Non-Programmers Open Source Projects Personal Web Toys Technology News Test Driven Reverse Engineering The Lure of XML Unit Testing in Python User Interface War Stories and Advice .. toctree:: E20080813061054 E20071224063101 E20070814063420 E20061010201911 E20060417105344 E20060227062653 E20051226085740 E20051220133649 E20051215121015 E20051213134054 E20051109143830 E20051107125049 E20051105152154 E20051101191219