title: There is no started application when trying to use beforeAll in scalatest
body: <p>in my test class I want to do something before all the tests begin, so I did something like this:</p>
  
  <pre><code>class ApplicationSpec extends FreeSpec with OneServerPerSuite with BeforeAndAfterAll {
  
    override protected def beforeAll(): Unit = {
      doSomething()
    }
  
    "Application Test" - {
      "first test" in {
        ...
      }
    }
  
  }
  </code></pre>
  
  <p>but I get an error:</p>
  
  <blockquote>
    <p>Exception encountered when invoking run on a nested suite - There is
    no started application java.lang.RuntimeException: There is no started application</p>
  </blockquote>
  
  <p>it only works if i try to use doSomething() inside the tests...</p>
  
  <p>how can i fix this?</p>
  
  <p>thanks!</p>