Skip to content

Add debug-mode toggle to continue test from last failed (skipping succeeded) #26518

New issue

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

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

Already on GitHub? # to your account

Open
plehnen opened this issue Apr 17, 2023 · 1 comment
Open
Labels
type: feature New feature that does not currently exist

Comments

@plehnen
Copy link

plehnen commented Apr 17, 2023

What would you like?

I'd love to have a checkbox (in the GUI) called "Debug mode (Stop on first error and skip successful tests on hot-reload)".

When I check it and run my tests, it should stop at the first failing test. (stating clearly which test was causing the error)
So I can go ahead and fix it. Once I save my file, it should notice it (as usual), but instead of running every test again from the start it should start from the failing test. If it's running green, continue... until the very last test.

If all tests after the fixed test are green, continue with the ones above (becaue they could theoretically be broken now due to the latest changes).

Why is this needed?

When I change code and have some failing tests I usually start the according test file, let it run completely, look at the first failing problem, fix this, let everything run again... and if it isn't easily fixed I start adding ".only" to the failing request until it is fixed and then remove it and let everything run again... which results in running all the tests above the fixed one over and over again, even though I don't really want to test them again.

And I am to lazy to add (and later remove) ".skip" on such tests.

This checkbox would make my life a lot easier and would be a charm fixing tests in the future. :)

Other

No response

@nagash77 nagash77 added type: feature New feature that does not currently exist E2E Issue related to end-to-end testing labels Apr 17, 2023
@emilyrohrbough
Copy link
Member

Similar to #925 & #4886

@emilyrohrbough emilyrohrbough removed the E2E Issue related to end-to-end testing label Apr 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

3 participants