mardi 28 juillet 2015

How to mark a test as pendingUntilFixed with SpecWithJUnit

import org.specs2.mutable.SpecWithJUnit
import org.specs2.specification.Scope
import org.specs2.execute.Failure
class MyTest extends SpecWithJUnit {
  trait Context extends Scope
  "myClass" should {
    "work but not right now" in new Context {
       Failure("test fails")
    }
  }
}

In this Specs2 example, how do I mark the test as pending until fixed (as I would with SpecificationWithJUnit)?

Aucun commentaire:

Enregistrer un commentaire