Beginning Ruby pp 163-185 | Cite as

Documentation, Error Handling, Debugging, and Testing

  • Peter Cooper


In this chapter we’re going to look at the finer details of developing reliable programs: documentation, error handling, debugging, and testing. These tasks aren’t what most people think of as “development,” but are as important to the overall process as general coding tasks. Without documenting, debugging, and testing your code, it’s unlikely that anyone but you could work on the code with much success, and you run the risk of releasing faulty scripts and applications.


Code Block Unit Testing Error Message Undesirable Output Class String 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Peter Cooper 2016

Authors and Affiliations

  • Peter Cooper
    • 1
  1. 1.Louth, LincsUK

Personalised recommendations