You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for realtime reporting in the HTML reporter in StrykerJS
Implementation
When all mutants have been created, open the file in the browser with its initial state.
After opening the HTML file, open an endpoint with the text/event-stream header.
When a mutant is tested, send an event to the browser. This event should at least contain a mutant id and the new status.
a. It might also be nice to put these mutants in a list, and output them when a client is connected. This could be used to prevent missing mutant data in the browser.
When mutation testing is done, send a different event so that the report knows it won't recieve any new updates.
Finally write the complete version to disk (as we currently do).
Question(s)
Is there currently a way to open the report automatically in the browser?
Should this functionality be behind a flag, like in Stryker.NET (-o, opens the browser automatically)?
Should we implement this with the built-in http module or should we use express for this?
The text was updated successfully, but these errors were encountered:
This issue depends on stryker-mutator/mutation-testing-elements#2434
Realtime Reporting
Add support for realtime reporting in the HTML reporter in StrykerJS
Implementation
text/event-stream
header.id
and the newstatus
.a. It might also be nice to put these mutants in a list, and output them when a client is connected. This could be used to prevent missing mutant data in the browser.
Question(s)
Is there currently a way to open the report automatically in the browser?-o
, opens the browser automatically)?http
module or should we useexpress
for this?The text was updated successfully, but these errors were encountered: