scalatest / scalatest-maven-plugin

ScalaTest Maven Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: forkMode always

pan3793 opened this issue · comments

it's useful for integration tests that contain lots of singletons, because it's hard to pick up all singletons and reset them if we want to change the configuration(which will affect those singleton objects) in another test.

@pan3793 Makes sense, imho we may want to support this in org.scalatest.tools.Runner, e.g. to have a server running in the main process which forks child process that use socket reporter to send back the result back to the reporters on the main process. We have similar thing in the sbt's Framework class that's called by sbt, we can probably do similar thing in ScalaTest own Runner.

@bvenners What do think about the idea?

Hi @cheeseng, is there a plan and ETA to support it? currently, we must fall back to JUnit since the maven surefire plugin support it.

@cheeseng Hmm, unfortunately I don't have a ETA for you, but I do want to get started on it, though I also struggle on what's the best next step for it.

Anyway, thanks for your quick response and maintaining such a great tool.