You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import org.specs2.mutable.Specification
import org.specs2.specification.AllExpectations
class AllExpectationsSpec extends Specification with AllExpectations {
def sut:String = ???
"all expectations spec" should {
"fail when exception happens" in {
sut must beEqualTo("a")
}
}
}
The result is green, although it obviously fails.
Removing AllExpectations makes the test be 'red' as expected
Checked with specs2 2.4.4
The text was updated successfully, but these errors were encountered:
Having a test case like this:
The result is green, although it obviously fails.
Removing AllExpectations makes the test be 'red' as expected
Checked with specs2 2.4.4
The text was updated successfully, but these errors were encountered: