Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental file saved incrementally during execution rather than whole thing at the end #4886

Open
palunjm opened this issue Jul 10, 2024 · 1 comment
Labels
🚀 Feature request New feature request hacktoberfest https://hacktoberfest.digitalocean.com/

Comments

@palunjm
Copy link

palunjm commented Jul 10, 2024

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.

@palunjm palunjm added the 🚀 Feature request New feature request label Jul 10, 2024
@nicojs
Copy link
Member

nicojs commented Aug 1, 2024

Hmm, this is a great feature 👏.

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.

Do you want to work on this feature?

@nicojs nicojs added the hacktoberfest https://hacktoberfest.digitalocean.com/ label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature request hacktoberfest https://hacktoberfest.digitalocean.com/
Projects
None yet
Development

No branches or pull requests

2 participants