To allow you to include Concordion specifications in the build before they have
been fully implemented, you can annotate a fixture class with one of the
following annotations in org.concordion.api
:
SUCCESS is only reported if... | |
---|---|
@ExpectedToPass | The specification contains zero or more successes, no failures, and no exceptions. |
@ExpectedToFail | The specification contains one or more failures or exceptions.
Note: When you use the |
@Unimplemented | The specification contains no successes, no failures, and no exceptions. |
Also note:
@ExpectedToPass
.import org.concordion.api.ExpectedToFail; import org.concordion.integration.junit3.ConcordionTestCase; @ExpectedToFail public class GreetingTest extends ConcordionTestCase { public String greetingFor(String firstName) { ... }