Hi everyone,
I'm a big fan of TestNG who recently entered the fun-filled world of
Python. But there were TestNG features I couldn't live without -
namely dependent test ordering - so I wrote an extension for Nose to
enable this behavior.
My project changes how tests are found so they use decorators which
very much resemble TestNG's annotations. Currently these apply at the
class level only, but I'd like to one day add a runner which would
allow method level annotations as well. It also has groups, and (to
some extent) groups of groups.
My work at Rackspace was recently open sourced. I'd seen tweets from
some TestNG users who were looking for an equivalent of TestNG in
Python that reminded me of the feelings I'd had originally so I asked
if I could make this project into its own repo on GitHub. Calling my
project "TestNG in Python" would be a disservice to TestNG- recreating
it was not my assignment so I only implemented features I felt where
absolutely necessary for the tests we were writing. It also extends
Nose / unittest instead of writing something entirely fresh. But I'm
very convinced this could be useful not just to people in my situation
but Pythonistas who've never heard of TestNG and don't know what
they're missing. I am eager to see what the TestNG community thinks of
it.
Code:
https://github.com/rackspace/python-proboscis
Docs:
http://www.python-proboscis.com.php5-21.websitetestlink.com/
Tim