Test-Driven Development Using AppleScript

MacTech Magazine recently published my two-part article titled “Test-Driven Development Using AppleScript”. In the April 2008 issue, part 1 gave an overview of test-driven development techniques using the AppleScript language, then gave a short example of those techniques using the ASUnit testing framework. In the May 2008 issue, the ASUnit framework was used to develop a number guessing game using test-driven development techniques.

Back issues are available from MacTech magazine (issues 24.04 and 24.05). The following are the web links contained within the articles:

Part 1 (April 2008):

Part 2 (May 2008):

Finally, I am linking a file of the script listings from the two articles (Stuffit Expander required to expand the scripts).

ASUnit article example scripts

This entry was posted in AppleScript. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Trackback

  1. By Getting started with Javascript on August 28, 2010 at 11:39 pm

    [...] small application really helps accelerate the learning process. Using the work I did for a MacTech article on test-driven development, I created a simple number guessing game as a Javascript web application [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>