Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Use Examples > Use a Proper Format

Use a Proper Format

Expressing your tests using examples raises the question of how to express these examples. Although you might think that expressing examples is pretty easy, some patterns emerged during the past decade within teams applying ATDD.

The proper format for you depends on factors in your team, your project, and your organization. First of all, you need to consider who is going to read the tests after you created them. This probably includes yourself, the programmer who is going to develop the feature described by the examples, and your product owner or customer. You may also consider a future test maintainer if you hand over your tests to a different team or department or even company. All these future test readers may want to get a quick picture of the feature that you describe today. That’s where a common way to express your examples becomes relevant.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint