nose-devs/nose — Issue #288: Test class that raises exception in __init__ crashes test run
Author: jpellerin
Created: 2011-12-14 16:06:31+00:00
State: open

What steps will reproduce the problem?
1. Create a test class like:

class TestCrashy(object):
def __init__(self):
raise Exception("pow")
def test_whatever(self):
pass

2. Run nosetests

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

The whole test run crashes. Instead, a Failure should be inserted into the test suite.

Please use labels and text to provide additional information.

Google Code Info:
Issue #: 269
Author: jpelle...@gmail.com
Created On: 2009-05-25T14:13:53.000Z
Closed On: 2009-07-25T19:39:42.000Z