Today Sidnei called my attention to Pyccuracy and Behavior-driven Testing
I decided to give it a try.
Started by repackaging the unofficial ubuntu packages I found in http://deb.gabrielfalcao.com/unstable/ in my PPA (basically, for fun).
https://edge.launchpad.net/~cprov/+archive/sandbox
There you can find python-pyccuracy and its dependencies (python-pyoc and python-selenium).
Install python-pyccurancy.
{{{
$ sudo apt-get install python-pyccuracy
}}}
Install the Selenium RC, if you don't have it yet, and run the server.
{{{
$ wget http://release.seleniumhq.org/selenium-remote-control/1.0.1/selenium-remote-control-1.0.1-dist.zip
$ unzip selenium-remote-control-1.0.1-dist.zip
$ java -jar selenium-remote-control-1.0.1/selenium-server-1.0.1/selenium-server.jar
}}}
Then you can use pyccuracy_console to run its own test suite which uses BDT.
{{{
$ pyccuracy_console -d /usr/share/pyccuracy/tests/acceptance/action_tests/ -p "*en-us.acc"
}}}
To be continued ...
Tuesday, June 30, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment