There is a useful annotation @TempDir in spock which helps us to create temporary folder and automatically delete it. Full name of annotation class looks like:
com.github.goldin.spock.extensions.tempdir.TempDir
It usually create temp folder in the folder which is defined as TMP environment variable. A question is: is it possible to specify folder where to create temp folder somehow?
Aucun commentaire:
Enregistrer un commentaire