Best Unit Testing framework for Linux system administration scripting?

Bryan Berry bryan.berry at
Mon Oct 27 01:41:36 CET 2008

I manage a team of 5 linux sysadmins and I am trying to transition us
from lengthy, mostly unreadable shell scripts to python scripting. After
a few tutorials, I have been infected with the unit testing bug. 

Our scripts create custom versions of Fedora Core, build and deploy web
software, and test servers post-installation for proper configuration.

Friends in the python community, which unit testing frameworks do you
recommend for these purposes? I have looked at unittest and py.test so
far and prefer py.test after a cursory examination. 

Also, can anyone point to me tutorials, resources on using unit testing
in system administration?


Bryan W. Berry
Technology Director
OLE Nepal,

More information about the Python-list mailing list