Unit testing framework using Common Lisp

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Unit testing framework using Common Lisp
by on (#134247)
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.