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
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 10. Testing > Item 98. Set up a continuous build system

Item 98. Set up a continuous build system

As you develop your code, you can get tunnel vision and run the tests for only the module that you are currently working on. However, it is not uncommon for changes in one module to cause tests to fail for another. You should periodically run your entire test suite or, even better, have your test suite run automatically on a regular basis.

Continuous integration systems are frameworks that handle the tasks of regularly building your code and executing the tests packaged with that code. These frameworks can range from as simple as locally scheduling a call to prove to using a full-featured system like Cruise Control to monitor your version control system and run your test suite on each new commit.


  

You are currently reading a PREVIEW of this book.

                                                                                        

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

  

Start a Free Trial