Class OutcomesTable

java.lang.Object
org.jbehave.core.model.OutcomesTable

public class OutcomesTable extends Object
Represents a tabular structure that holds OutcomesTable.Outcomes to be verified by invoking method verify(). If verification fails an OutcomesTable.OutcomesFailed exception is thrown.

The Outcomes Tables allows the specification of Keywords for the outcome fields, as well as rendering formats for different types. The default formats include:

  • Date: "EEE MMM dd hh:mm:ss zzz yyyy"
  • Number: "0.###"
  • Boolean: "yes,no"
These formats can be overridden as well as new ones added. The formats can be retrieved via methods getFormat(Type) and getFormat(String).