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

Store current state when command is interrupted #43

Open
nirs opened this issue Mar 19, 2025 · 0 comments
Open

Store current state when command is interrupted #43

nirs opened this issue Mar 19, 2025 · 0 comments
Labels
future We want to add this in a future release

Comments

@nirs
Copy link
Member

nirs commented Mar 19, 2025

When aborting a test using Control+C, we exit immediately without writing the current state to the report. It would be more useful to write a test summary reporting what the test finished before it was interrupted and exit.

Possible implementation:

  • Add Context to test, and change all code to check if the context was canceled - very big effort
  • Write current test state from main thread and exit - easy
@nirs nirs added the future We want to add this in a future release label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future We want to add this in a future release
Projects
None yet
Development

No branches or pull requests

1 participant