Hey,
I've got the problem, that beforeAll() is not called before all at all.
Here's how my codes looks:
trait IntegrationTest extends BeforeAndAfterEach with BeforeAndAfterAll { self: Suite => ... }
trait ApiSpec extends FunSpec with IntegrationTest with ApiAccess with Matchers { ... }
class UsersSpec extends ApiSpec {
describe("A") { ... }
describe("B") { ... }
}
Now when I run UsersSpec what I would expect is that #beforeAll() is called before A and B.
What happens, though, is that A and B are run and only after that is #beforeAll() called.
Am I doing something wrong?
~ Markus