O'Reilly logo

Beginning Ruby: From Novice to Professional, Third Edition by Peter Cooper

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Peter Cooper 2016

Peter Cooper, Beginning Ruby, 10.1007/978-1-4842-1278-3_8

8. Documentation, Error Handling, Debugging, and Testing

Peter Cooper

(1)Louth, Lincs, UK

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.

This chapter demonstrates how to produce documentation, handle errors in your programs, test the efficiency of your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required