Guidelines, best practice and Testing Template

Not a “best practice” by any means, but in the development of my game I have two types of tests:

You also have the option of mocking Phaser if your testing code has side effects so that you can assert if you are calling the framework with the expected parameters.

1 Like