Unit testing framework using Common Lisp

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems. See the NESdev wiki for more information.

Moderator: Moderators

Post Reply
User avatar
dustmop
Posts: 136
Joined: Wed Oct 16, 2013 7:55 am

Unit testing framework using Common Lisp

Post by dustmop »

I'm working on a fairly sizable homebrew game currently, and to help with development I've created a minimalistic unit testing framework in Common Lisp. I did a full write-up in a blog post here.

Included is a sample calculator rom with the full source up on github. It has a unit test for the binary to decimal routine used within. In my larger homebrew project I'm using the same framework to test things like trigonometry functions, nametable updating, and play field partitioning.

Hopefully someone finds this useful, or at the very least, interesting.
Post Reply