[Baypiggies] python based test automation framework

Tung Wai Yip tungwaiyip at yahoo.com
Tue May 12 16:17:10 CEST 2009

The are two part to that problem.

1. Use Python to drive the test target.
2. Generate HTML report.

I'm still not ver clear what the test target is like. Assuming they are  
some shell scripts, you can use Python to drive them. Having a Expect-like  
library may help.

For 2, you can use my little library HTMLTestRunner. It works with  


Wai Yip

> I am testing the actual functionality. The test scripts generate
> dns/http/snmp protocol traffic and validate their responses.
> Is there a way to setup a framework like pyunit to generate html reports,
> with links to error info etc?
> thanks,
> Ravi.
> On Mon, May 11, 2009 at 9:18 PM, Aahz <aahz at pythoncraft.com> wrote:
>> On Mon, May 11, 2009, Ravi Kondamuru wrote:
>> >
>> > I am looking for a test automation framework that executes regression
>> test
>> > scripts.
>> >
>> > The tests are for a router like networking/firewall device. The
>> capabilities
>> > I am looking for are:
>> >
>> > 1. execute selected/all test suites to be written in python
>> > 2. generate/archive html reports to be viewable later
>> >
>> > I am looking at unittest, nose etc but they seem to be for testing
>> > python-based application and hence not a fit.
>> What interface do you use for accessing the router?  Are you testing the
>> UI or the actual functionality?  For the former, assuming it's a web UI,
>> you probably want to use Selenium.  For the latter, just use the regular
>> Python testing frameworks, but presumably the units will be socket tests
>> that you compare against expected values.
>> --
>> Aahz (aahz at pythoncraft.com)           <*>
>> http://www.pythoncraft.com/
>> "It is easier to optimize correct code than to correct optimized code."
>> --Bill Harlan
>> _______________________________________________
>> Baypiggies mailing list
>> Baypiggies at python.org
>> To change your subscription options or unsubscribe:
>> http://mail.python.org/mailman/listinfo/baypiggies

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

More information about the Baypiggies mailing list