Writing your own JUnit Rule - Niklas Baudy - Medium
A JUnit Rule can be used to do some work around the execution of a test.
One example would be to set up something before a test is running and then after it ran tearing something down.
This is actually quite simple to do with JUnit itself.
Read full article from Writing your own JUnit Rule - Niklas Baudy - Medium
No comments:
Post a Comment