nose-devs/nose — Issue #170: Allow attributes on base classes to be used for test selection
Author: jpellerin
Created: 2011-12-14 16:02:35+00:00
State: open

From Jason Hildebrand:

>>>
I especially like the ability to select tests by attribute, but noticed
that attributes of a base class of a test case cannot be used in
inclusion/exclusion conditions. As an example, I have a class
SeleniumTestCase which is a base class for our selenium tests. I'd like
to create the attribute SeleniumTestCase.selenium = True, so that I can
easily select all selenium cases. As it stands, though, I'd need to set
selenium = True on each subclass for it to usable in a condition.

I've attached a patch again nose/plugins/attrib.py which corrects this
behaviour -- please consider applying it.
<<<

Google Code Info:
Issue #: 1
Author: jpelle...@gmail.com
Created On: 2006-12-18T20:07:13.000Z
Closed On: 2006-12-31T23:46:37.000Z