-
Notifications
You must be signed in to change notification settings - Fork 2
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
BeforeTestRun resp. AfterTestRun added #2
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,13 @@ | |||
package ch.unibe.jexample; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this file is missing .java
extension.
Hooray for contributing! 🎀 As mentioned in the issue this implementation might not be safe if a text class has test functions that depend on the return value from another test classes. But otherwise this looks good. More see inline comments. |
Thanks for your answer. I currently use methods annotated with "@BeforeClass" to create a directory and put some files in this directoy which will be needed for the the test. Clearly, i do want to delete the directory after running my tests. |
Methods annotated with BeforeTestRun resp. AfterTestRun will be executed before resp. after the execution of a Examplegraph.