Chapter 10. MacRuby testing

 

This chapter covers
  • Software testing
  • The MiniTest framework
  • Building test suites

 

Software testing may not have the glamour and glory associated with building shiny and polished Mac apps, but it can save you headaches down the road. The expressiveness of Ruby and its rich testing frameworks and tools can help you with this process.

If you’ve done much Ruby development in the past, you’ve encountered the Ruby community’s fervor toward testing. There are multiple testing frameworks and many camps regarding strategies and methodologies. Rather than try to cover all the different tools available, we’re going to focus on the MiniTest framework and go over a few tips and tricks. We’ll take you through an introduction ...

Get MacRuby in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.