TDD

  • Introduce the concept of Test Driven Development
  • Explore the TDD features of the Play Framework
  • Review the implementation of a Blog feature in spacebook

Objectives

  • Explore the Unit test features of Play
  • Write some tests to verify the current behaviour of the User and Message classes
  • Implement a new class - Post - to represent a blog post
  • Introduce mapping from User to Post
  • Incorporate Routes, Controller and View to support blog posts