import org.specs2.Specification
import org.specs2.specification.dsl.GWT
import org.specs2.specification.script.StandardDelimitedStepParsers
class StepExceptionsDontFailTest extends Specification with GWT with StandardDelimitedStepParsers {
def is = {
stopOnFail ^ s2"""
Do exceptions get logged $throwException
or will my test make assertions? $assert
"""
}
def throwException = step {
throw new IllegalArgumentException("Hello you!")
"Bob"
}
def assert = {
true must_== true
}
}