Run in IDE

Intellij IDEA

IntelliJ IDEA is the IDE with the best specs2 integration for now. You can:

specs2 in Intellij
specs2 in Intellij

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.

ScalaIDE

There is no integration of specs2 in ScalaIDE yet, but it is possible to execute specifications as JUnit tests:

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]