Skip to content
Brent Frymire edited this page Mar 12, 2023 · 31 revisions

Crispy is a GameMaker unit testing framework that helps you test your code and keep it future proof.

I first became interested in the idea of creating a unit testing library for GameMaker after watching this video about how Minecraft handles its automated tests.

What is Unit Testing?

Unit testing is running tests on the smallest possible component of code, a unit.

Why implement Crispy into your project?

Unit tests help future proof your code. While developing a new feature, you might accidentally and unknowingly break another feature in your project. Crispy can run your tests each time your game is ran and catch these errors for you before making it into production code.

Even adding a small number of unit tests to your project can go a long way!

Can Crispy be used for Test Driven Development?

Crispy would not be a suitable solution for TDD at the moment. A test that asserts a non-existing variable would throw an error and stop the game from running.

Clone this wiki locally