| Author |
What kind of Application and is Testing covered
|
Gregg Bolinger
Sheriff
Joined: Jul 11, 2001
Posts: 15040
|
|
|
Jon, you mention in other threads that an application is built throughout the book, building in features from one chapter to the next. What is the application? Also, how much do you cover on testing and do you take the TDD or DDD approach?
|
My Blog | DZone Articles
|
 |
Gregg Bolinger
Sheriff
Joined: Jul 11, 2001
Posts: 15040
|
|
|
Sorry, I see now that Chapter 6: Testing is there. Still curious about the rest though.
|
 |
Jon Dickinson
Author
Ranch Hand
Joined: Feb 24, 2009
Posts: 45
|
|
Hi Gregg,
The application is a team communication application for sharing messages and files between team members. Essentially by the end of the application users can:
post messages and filesmaintain version history of filestag messages and filessubscribe to an RSS feedsearch the application for messages and filescustomise their home page by watching for content with certain tagsedit tags in-line with auto suggestview a tag cloud for messages and filesfilter content by tags, using the tag cloud
There is also a RESTful API for creating and listing messages.
I devote an entire chapter to testing, covering unit testing, integration testing and functional testing. I tried to take more of a domain driven approach in the book, because it seemed like an easier way to write about what I was doing. Where there are, relatively, large bits of coding to do before you can see an on-screen result, I use some tests to give the reader something to run to give an indication of progress.
I'm a big fan of TDD in my day to day work, but the driving goal behind writing an application for a book is actually quite different from real world development, for a start you don't have any real users. You also have to spend at least ten times more effort writing than coding!
Cheers,
Jon.
|
Jon Dickinson
Accolade Consulting
Grails 1.1 Web Application Development
|
 |
Gregg Bolinger
Sheriff
Joined: Jul 11, 2001
Posts: 15040
|
|
|
Sounds very interesting, Jon. Thanks for the info. I go back and forth on TDD vs DDD and Grails seems to support the DDD approach a bit better. Everything you see first on Grails "Getting Started" guides is creating a domain object.
|
 |
 |
|
|
subject: What kind of Application and is Testing covered
|
|
|