nose-devs/nose — Issue #129: tags doesn't work on inherited test method.
Author: jpellerin
Created: 2011-12-14 16:01:07+00:00
State: open

What steps will reproduce the problem?

Try test code like this:

class Base(object):
def test_chrome(self):
self.setup_something()
self.run()

test_chrome.browser = 'chrome'

class TestLogin(Base):
def run(self):
pass # run some test

If you run the test with "nosetests", everything is OK.
But if you use "nosetests -a browser=chrome", no test case is found.

What is the expected output? What do you see instead?

It would be convenient to allow inherited test method to have tags.

What version of the product are you using? On what operating system?

1.0.0

Please provide any additional information below.

Google Code Info:
Issue #: 412
Author: newpt...@gmail.com
Created On: 2011-04-21T20:56:38.000Z
Closed On: 2011-05-02T20:35:39.000Z