Skip to content

CrossReferences

jochenwierum edited this page Jul 9, 2012 · 1 revision

Cross References

Sometimes you know only blurry expectations. "The value must not be null". Or you only know, that two values must be the same, regardless what value they have. Cross references allow you to register handler, which are capable to process such checks. Some of them do already exist:

Cross reference input

Executing the fixture could produce the following output:

Cross reference output

It is possible to implement your own cross reference processor to check custom business logic. Accessing the current date in a field:

${dateProvider.getCurrentDate(yyyyMMdd)} where yyyyMMdd represents the date format as defined in javas SimpleDateFormat

Clone this wiki locally