[Baypiggies] python based test automation framework

Stephen Cattaneo stephen.cattaneo at gmail.com
Tue May 12 16:56:25 CEST 2009


"""
Having a Expect-like library may help.
"""

At my last position I used pexpect [ http://pypi.python.org/pypi/pexpect/ ]
extensively. The module seemed to be pretty mature and the author was also
fairly responsive to the occasional question.

-S

On Tue, May 12, 2009 at 7:17 AM, Tung Wai Yip <tungwaiyip at yahoo.com> wrote:

> 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
> unittest.
>
> http://tungwaiyip.info/software/HTMLTestRunner.html
>
>
> 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/
>
>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>



-- 
---
Failures are finger posts on the road to achievement.

-- C.S. Lewis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20090512/b048a9a9/attachment.htm>


More information about the Baypiggies mailing list