you can add it to TestTemplate beforeMethod() hook or beforeSuite - check where the restof deleteDir methods are