testing the domain model
"Caleb Cushing [email protected] [domaindrivendesign]" <[email protected]> Sat, 06 Jun 2015 03:59:13 +0000
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <CAAHKNRGoZEMkmzYxLFx4NAaxDPCb=WO6oA-y4m-T65XYnY5G3w@mail.gmail.com> |
I'm wondering if anyone has any advice for creating and managing test data for testing the domain model. entity aggregates can be quite complicated and repetitive to create, especially when you find yourself needing variants of the same things across several tests (how many things require a reference to a user?). I'm especially interested if you want to create the aggregates for cases where persistence is not required/desired. -- Caleb Cushing