• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What kind of Application and is Testing covered

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, I see now that Chapter 6: Testing is there. Still curious about the rest though.
 
Author
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 files
  • maintain version history of files
  • tag messages and files
  • subscribe to an RSS feed
  • search the application for messages and files
  • customise their home page by watching for content with certain tags
  • edit tags in-line with auto suggest
  • view a tag cloud for messages and files
  • filter 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.
     
    Gregg Bolinger
    Ranch Hand
    Posts: 15304
    6
    Mac OS X IntelliJ IDE Chrome
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    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.
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    reply
      Bookmark Topic Watch Topic
    • New Topic