Is it possible to use the ScalaTest BDD syntax in a JUnit environment?
- by ebruchez
I would like to describe tests in BDD style e.g. with FlatSpec but keep JUnit as a test runner.
The ScalaTest Quick Start does not seem to show any example of this:
http://www.scalatest.org/getting_started_with_junit_4
I first tried naively to write tests within @Test methods, but that doesn't work and the assertion is never tested:
@Test def…