-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Enhancement: Hook into before and after individual theory test #3
Comments
It looks like this has been fixed: 79d696c |
I believe this was fixed, as Brett says. Please reopen if false. |
eunbi-kim
added a commit
to eunbi-kim/junit4
that referenced
this issue
Feb 23, 2018
krotc35
pushed a commit
to krotc35/junit4
that referenced
this issue
Jul 10, 2020
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to be able to hook in before and after each of the individual test runs in a theory. This is so I can rollback database transactions between each test run. I can use the junit before and after test but that is not fine grained enough as it is run before and after each theory.
Also I'm using theories with spring integration tests (AbstractTransactionalDataSourceSpringContextTests). So my test class is extending AbstractTransactionalDataSourceSpringContextTests and using the theories test runner. It would be nice to have a Spring theories runner to make it easier to hook up theories with spring Integration tests. This is how I came across this issue. But being able to hook into before and after each theory test is a nice start.
The text was updated successfully, but these errors were encountered: