The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

savvas.andreas (6) [Avatar] Offline
#1
Hello and thanks very much for writing your book.

I just wanted to mention that the same behaviour regarding temporary folders (described at chapter 5.5) can be achieved using JUnit's TemporaryFolder Rule (http://kentbeck.github.com/junit/javadoc/4.8/org/junit/rules/TemporaryFolder.html).

This rule will create a folder in the temporary directory, will provide a handle to that and in addition will be responsible for deleting it after the test method executes.

Regards,
Savvas Andreas