[Baypiggies] python based test automation framework

Ravi Kondamuru ravikondamuru at gmail.com
Tue May 12 19:20:27 CEST 2009


thanks for the suggestions.
I am going to try QMTest which looks like a complete framework, though it is
not clear yet if I can get html reporting
and HTMLTestRunner, which looks like a simple addon to unittest to get html
reports.

Ravi.

On Tue, May 12, 2009 at 7:56 AM, Stephen Cattaneo <
stephen.cattaneo at gmail.com> wrote:

> """
> 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
>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20090512/9eb8674e/attachment-0001.htm>


More information about the Baypiggies mailing list