Recently, I got really tired of writing buggy code with prinths scattered everywhere to try and figure out what the hell was going on. So, I created a way to test your carts while they run. It gives you output on the command line that looks something like this:
Hopefully, it's not too difficult to install/use. I mimicked mocha's API at a high-level.
I'd love to hear what you think if anyone decides to try it out. You can also download the cart and take a look at the code for more info. There's fairly detailed documentation on Github:
Also, feel free to comment on this thread with questions or hmu on twitter. Cheers!
how well does this run on windows? I know windows supports node but I'm having trouble making the examples in the github repo work. I see a bunch of "INFO: <foo>" lines printed out but they don't seem to get piped into the pico-test tool correctly. I figure this is likely an issue with how I'm redirecting input to that program but also I wonder if pico8 does output differently on windows or if node tools work differently on windows
[Please log in to post a comment]