Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setupClass called for every test if class is not a subclass of TestCase #312

Open
MLModel opened this issue Sep 25, 2016 · 1 comment
Open
Assignees

Comments

@MLModel
Copy link

MLModel commented Sep 25, 2016

In a test class with no superclasses setUpClass is executed once for every test. If the class is a subclass of TestCase it is executed only once then the tests are executed.

@katrinabrock
Copy link
Collaborator

@little-dude is this expected behavior? If so, maybe should be better documented. Even if this is not intended behavior, I'm guessing other users probably rely on it so probably a won't fix, but please weigh in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants