jogg# Posted January 31, 2018 Share Posted January 31, 2018 Hey guys, Has anyone here managed to find or write some unit tests for their Phaser games? I already searched with different keywords for unit tests on phaser games, but the articles / posts I've been able to found, are pretty much outdated or don't provide any tutorials / extra info. The game for which I want to write unit tests is pretty UI heavy, and it would be useful to find at least some tutorials somewhere, or at least some tests written for another game. I've already tried playing with Nightwatch.js, but I hit a roadblock when I need to interact with the objects from the app ( such as clicking a button, and by clicking, I mean I want to know on what button I make a click, not just navigate the cursor to it's coordinates ). Any tips are welcome, or tutorials. Thanks in advance, Link to comment Share on other sites More sharing options...
samme Posted February 1, 2018 Share Posted February 1, 2018 I've run tests, but not interactive ones. Automated testing with Headless Chrome might be a good start. Link to comment Share on other sites More sharing options...
Recommended Posts