-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Print pending tests when interrupting AVA, or after a timeout #583
Comments
Great idea! |
👍 |
This would be awesome. 👍 |
Would be really useful to use |
Just curious, has there been any movement on this issue? cc: @novemberborn |
@QuotableWater7 nope. Are you interested in taking this on? |
This would be tremendously useful. Is this still something that is planned @novemberborn? |
@austinkelleher most definitely. Would you want to give it a go? |
Ran into this problem myself - gonna try hacking something together if y'all don't mind. 🙂 |
any update on this now #1722 is merged ? Would be very useful 😄 |
@vancouverwill I haven't had much time to work on #1776. I do think it should be implemented in the reporters, but I'm happy with some duplication if that unblocks. Would you be interested in working on this? |
@novemberborn hey yeah I would be interested, could you possibly give me some guidelines in terms of code style you would Iike or any goals with it? Thanks |
@vancouverwill we use XO for code style. The reporters should receive events when tests are declared and when they finish, so it'll be possible to keep a list of pending tests (and test files, too). Then in At least that's the theory, it may be a bit different in practice 😄 |
great, i've started to take a look at it, busy with the day job but hopefully I can get more time on the wk 😄 |
can you assign me so no one else ends up having to create duplicate/wasted work? |
In `--verbose` mode, print tests that were pending when a timeout occurs. See also #583.
#1886 implements this for timeouts, in the We still want to implement this for when the process is interrupted ("killed"), and in the default mini reporter too. Thank you @vancouverwill for getting us this far! |
@issuehuntfest has funded $80.00 to this issue. See it on IssueHunt |
@dflupu has submitted a pull request. See it on IssueHunt |
@sindresorhus has rewarded $72.00 to @dflupu. See it on IssueHunt
|
If you interrupt AVA (Ctrl+C/SIGTERM) while tests are still pending, AVA should print those tests before exiting. Similarly it should print pending tests when
--timeout
is reached.This should help debug which tests are taking too long.
Related to #171.
The text was updated successfully, but these errors were encountered: