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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.