!3 The value of a propery that's another domain object may be shown as an embedded table
* The embedded table is the same as for the outer table, except that it starts with the ''label'' row
* As usual, only some of the properties of the embedded object may be specified
* Programmers: The processing of the embedded table happens automatically; you don't have to write any fixturing code for that
For example, a ''User'' also has a single ''Account'':
!**< def
!define user (
|''name''|Poor Payer|
|''account''|${account}|
)
!define account (
|''id''|456778|
|''payment history''|poor|
)
!define test (!|fitlibrary.specify.domain.UserAdapter|
|''checks''|
|''slow paying user''|${user}|
)
**!
|!-fitlibrary.spec.SpecifyFixture-!|
|${test}|!-
fitlibrary.specify.domain.UserAdapter |
slow paying user |
name |
Poor Payer |
account |
id |
456778 |
payment history |
poor |
|
|
-!|