Closed jaspervdveen closed 6 months ago
For #4790, this run should be as swift as possible to promptly update the Test Explorer with the latest data on code changes. However, the current process remains too slow to be practical. Following the instrumentation of the code in memory, the project undergoes preprocessing, initializes the checker pool, and sets up the sandbox. None of these steps are necessary to display available mutations in the extension. However, the event is sent and the Stryker process is terminated only after completing them.
I discussed this issue with @danny12321. Some options we discussed are:
@nicojs what are your thoughts on this?
This code change implements a Stryker option to stop Stryker after instrumenting the code. When running Stryker with this option enabled, it executes the instrument phase only and the JSON-reporter reports the results as a valid mutation testing elements report. The results of this run can be used for #4779, to display mutations which haven't been tested yet (pending mutations).
Resolves #4790