[TIP] Functional Test Runner for Command Line Tools?

Augie Fackler lists at durin42.com
Wed Apr 15 13:37:07 PDT 2009

On Apr 13, 2009, at 11:15 PM, Noah Gift wrote:

> In looking at http://pycheesecake.org/wiki/PythonTestingToolsTaxonomy
> I don't see something that automates writing functional tests for
> command line tools.  Hopefully, I am wrong, but I am looking for
> something that will fully exercise a command line tool easily.  How is
> everyone else testing their command line tools?

I'd highly recommend you look at the Mercurial testsuite - they store  
a shell script and expected output and then print a diff of any  
changes, and store the new output in a file next to the expected  
output. I've found it very convenient.

> Cheers,
> Noah
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

More information about the testing-in-python mailing list