|
From: Ryan N. <tu...@fa...> - 2008-01-22 23:56:59
|
Hey Folks, I've written a different TestRunner that uses XmlSocket instead of LocalConnection so I can run my tests on our embedded device. However, right now the as2 version of asunit is written such that TestRunners aren't pluggable. Right now I'm just overwriting TestRunner.as with my own file. How would you go about refactoring asunit to allow for more than one kind of TestRunner? Is this the way to go: TestRunner.prototype.renderTests = myNewRenderer ...or is there a better solution? - Ryan |