O'Reilly logo

MacRuby in Action by Brendan G. Lim with Jerry Cheung and Jeremy McAnally

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

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 ...

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