DefTest - Writing and running unit tests in Defold

I have received a couple of questions on how to write and run unit tests in Defold. Unit testing your game logic in Defold is not that much different from unit testing normal Lua code but if you do not have much experience with unit testing it might be difficult to know where to start and which unit testing framework to use. Lua has many different unit testing frameworks and I decided to create a library project and examples based on the Telescope framework. You can check out the project and read more about how to use it here:

18 Likes