Flash Game Toolkit

The working journal for the Flash Game Toolkit. Read all about the progress and challenges I encounter in the Open Source Project. The key bits of knowledge I am hoping to gain is how to run an Extreme Programming Project and a large scale project in ActionScript. MacroMedia Flash ActionScript is a great language to prototype games in. The Flash Game Toolkit intends to build the components a board/dice/card game designer would need to put together a game.

Saturday, June 14

Testcase Framework

The first step in making the project follow the write test cases first principle requires that I have an easy way to create and maintain the test cases. I think I found what I was looking for... except it isn't in ActionScript.

No big deal. I just have the prerequisite project for the the game toolkit.

    Requirements:
  • Simple way to create unit tests.
  • A clear way to organize and group tests
  • Indication of which tests failed
  • Automated!
  • Timing might be nice
  • Not integration testing -- the samples are for that.

Here is the inspiration: Unit Testing In Python Presentation. I'm sure this is the right thing to be doing and the right approach.

In a very dynamic language like Python, unit tests provide added safety. Unit tests make up for some of the compile time checks that you lose. This quote for the slides in the previous link explains why ASUnit is an important project to help keep my sanity while programming in ActionScript.


A bit of googling later I finally found what I was after: ASUnit

0 Comments:

Post a Comment

<< Home