forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
Domain Driven Design
Dj edited this page Mar 16, 2015
·
1 revision
The best advise you can be given is to read Eric Evan's excellent "Domain Driven Design" book. However, in a nutshell there are some key points.
- Tests should be written using a "Ubiquitous Language"
- Make use of the "Repository" pattern to make it easier to create objects
This refers to the idea that everyone on a project should attempt to speak the same language. That is, rather than referring to "load data into this table" or "click on the third column" it should be possible to use language such as "create a new account" or "order displayed results by name"
There is a good book on Domain Driven Design by Eric Evans http://www.amazon.com/exec/obidos/ASIN/0321125215/domainlanguag-20
And to whet your appetite there's a useful smaller book available online for download at http://www.infoq.com/minibooks/domain-driven-design-quickly