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
Is your feature request related to a problem? Please describe.
If a mutation testing run is interrupted prematurely the results up to that point are lost.
Describe the solution you'd like
It would be nice to have an option to update the incremental file after X number of mutations (maybe not after every mutation passes/fails). That way you could still make progress towards completing a large increment even if you need to interrupt the process.
Describe alternatives you've considered
I have attempted to write a node function which will mutate a file at a time but I am having trouble getting it to correctly update the files at the end of each run for some reason. Also, there is the overhead of startup for each file.
The text was updated successfully, but these errors were encountered:
As an alternative, we could also register an unexpected exit handler. So when you exit (for example, by pressing CTRL+C) we could write the intermediate file to disk.
@nicojs
I have only been a user of this software so far. I would need some time investment on it first, I think. I am currently buried with my day job but will try and carve out some time because I would find this personally useful.
I think you are probably correct with registering an exit handler to write the incremental results - assuming we can use the same methods that are currently updating the incremental file.
Is your feature request related to a problem? Please describe.
If a mutation testing run is interrupted prematurely the results up to that point are lost.
Describe the solution you'd like
It would be nice to have an option to update the incremental file after X number of mutations (maybe not after every mutation passes/fails). That way you could still make progress towards completing a large increment even if you need to interrupt the process.
Describe alternatives you've considered
I have attempted to write a node function which will mutate a file at a time but I am having trouble getting it to correctly update the files at the end of each run for some reason. Also, there is the overhead of startup for each file.
The text was updated successfully, but these errors were encountered: