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.


Posted at 06:10 AM     Read More  
Author: Steven Lott
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

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.


Posted at 06:31 AM     Read More  
Author: Steven Lott
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

User Interface Testing


"We have a web application; it takes forever to test.  What do we do?"


Posted at 06:34 AM     Read More  
Author: Steven Lott
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

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".

Posted at 08:19 PM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

Doctest beyond Python


Ian Bicking has some notes on using Doctest to debug Logo programs [link].

Posted at 10:53 AM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

Agile Testing Goodies from PyCon 2006


See Agile Testing [link] PyCon 2006 tutorial on testing frameworks and how they fit together.

Posted at 06:26 AM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

testresources


TestResources extends the TestCase and TestRunner to optimize a number of tests around the resources used.

Posted at 08:57 AM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

SubUnit


SubUnit extends the definition of Test Runners to reach outside Python.

Posted at 01:36 PM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

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.

Posted at 12:10 PM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

More Frameworks! (rev. 3)


Seven more testing tools (frameworks?)

Posted at 01:40 PM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

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

Posted at 02:38 PM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

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.

Posted at 12:50 PM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

Compare and Contrast (round 1)


Using the original Beck Test Framework as a yardstick. Part 1: unittest and doctest.

Posted at 03:21 PM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to:        

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.

Posted at 07:12 PM     Read More  
Author:
Technorati Tags:
Technorati Cosmos: Technorati Cosmos
Technorati Watchlist: Technorati Watchlist
Add this entry to: