Does ScalaTest include a fixture similar to the JUnit Rule temporary folder? If not, is there a commonly-used ScalaTest extension library that includes a fixture like that?
Asked
Active
Viewed 710 times
1 Answers
1
This seems to be a duplicate question of Using JUnit @Rule with ScalaTest (e.g. TemporaryFolder)
And if it's possible in other frameworks? In my project we use Specs2 and we have autogenerated folders for test-cases. So I know it's possible for Specs2.

GamingFelix
- 239
- 2
- 10
-
1That question is asking how to use JUnit Rules with ScalaTest, whereas I am asking what is the equivalent in ScalaTest. β GreenSaguaro Dec 20 '18 at 01:42
-
Sorry, I don't see how that's not the same question. Being able to use it in ScalaTest would be equivalent? But ok, let's see if someone else answers. Because to me that question seemed to have good answers already. β GamingFelix Dec 20 '18 at 08:42
-
1Itβs different is that I am looking for something made FOR ScalaTest as opposed to how to adapt something that was not made for it. β GreenSaguaro Dec 20 '18 at 14:42