IntelliJ IDEA is the IDE with the best
CTRL+SHIFT+F10
CTRL+SHIFT+F10
However passing arguments needs to be done through system properties for now. So if you need to use the xonly
argument you need to pass -Dspecs2.xonly
.
There is no integration of
import org.specs2.runner.JUnitRunner
import org.junit.runner.RunWith
@RunWith(classOf[JUnitRunner])
class MySpecification extends org.specs2.Specification { def is = s2"""
Define your specification as usual here ...
"""
}
[some tricks described on the specs website can still be useful there when ScalaIDE struggles to find the specification classes]