Right now we rely pretty heavily on "testing" the script actually on the stream, which makes contributing pretty difficult. Right now it seems like DeSmuME doesn't have a working Lua engine in their Mac build (even in trunk builds/nightlies), so manual integration testing isn't possible for me, short of spinning up a VM and running the emulator in that.
Unit tests aren't really the solution since we rely on the script to do file I/O, and the resulting images are what we need to test. It might be worth futzing around to see if it's possible to divorce rendering from the render parameters and test the latter, assuming that the former will always work as intended.
Right now we rely pretty heavily on "testing" the script actually on the stream, which makes contributing pretty difficult. Right now it seems like DeSmuME doesn't have a working Lua engine in their Mac build (even in trunk builds/nightlies), so manual integration testing isn't possible for me, short of spinning up a VM and running the emulator in that.
Unit tests aren't really the solution since we rely on the script to do file I/O, and the resulting images are what we need to test. It might be worth futzing around to see if it's possible to divorce rendering from the render parameters and test the latter, assuming that the former will always work as intended.