Hi,
would it be possible to write a Reporter, which sends all results via postMessage() to an iframe, where the actual html report is located?
My idea was to have the html report result and the application (an ExtJS5 thingie in my case) side-by-side in the same window. For that, I want to isolate the HTML report in an iframe and send all results from the main window, where the tests run in the App context, to the iframe. A special Reporter should use postMesssage() instead of creating DOM elements. The html report page in the iframe would listen to the messages and produce the report as we know it (modified HtmlRunner).
I don't understand enough about the inner mechanics of Jasmine to identify the right places to hook into. I couldn't quite figure out what the API of a Runner must look like to work with Jasmine.
Is this a feasible idea at all? Is the Runner a sufficient isolation point for the purpose I described?
Thanks
Hermann