4

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?

GreenSaguaro
  • 2,968
  • 2
  • 22
  • 41

1 Answers1

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
  • 1
    That 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
  • 1
    It’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