-
Notifications
You must be signed in to change notification settings - Fork 2
CrossReferences
jochenwierum edited this page Jul 9, 2012
·
1 revision
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:
Executing the fixture could produce the following 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