I checked this topic here: http://www.html5gamedevs.com/topic/3242-unit-testing-a-phaser-application/#comment-21011
It doesn't seem there are some updates.
I have html form with data and I would like to test reset function i.e it restores default values for the form input elements.
I am using jQuery and QUnit, both related to each other. But the problem is, this form has some dependencies which are inside my main JS object holding the game object which renders to canvas. I can include my main JS object but I don't want it rendering visual output. I tried using HEADLESS mode but it still shows visual output as if there is a bug. I will check again for Phaser 2.6.1 in a plain game set-up to see if it has really a bug.
But the main question is, are there some tutorials or libraries adapted for testing Phaser game including html forms or other html elements?