[Baypiggies] python based test automation framework
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.
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
> 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?
>> 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
>>> > scripts.
>>> > The tests are for a router like networking/firewall device. The
>>> > 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) <*>
>>> "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:
> 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:
Failures are finger posts on the road to achievement.
-- C.S. Lewis
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies