October 2006
Intermediate to advanced
888 pages
16h 55m
English
In this chapter, we’ve looked at some of the mechanics of testing (especially unit testing). We’ve looked specifically at Test::Unit and the ZenTest tool suite.
We’ve looked briefly at the Ruby debugger. We also saw how the ruby-breakpoint library can be used to “jump” into an irb debugging session.
We’ve looked at the rcov code coverage tool and discussed a tiny bit of the rationale for such measurements. Finally, we’ve looked at profiling and benchmarking to measure the speed of our Ruby code.
If you’re working on software for public consumption, what do you do after testing is complete? It’s time then to worry about packaging and distributing the software. This is the topic of the next chapter.
Read now
Unlock full access