-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Show 100% on last line of progress meter #1697
Comments
If I make this change, the output will end up like this:
For short runs, you'll get something like this:
I'm not really sure if this is a good change, so I'm hoping to get more feedback. |
Git diff for this change if anyone wanted to try it:
|
LGTM. It would also be more consistent with other industry standard tools like PHPUnit. I just came across their changelog entry from 2015 where they made the same change 😉 Refs: |
I knew I shouldn't have posted rough code :) It's not what I would commit - just what I hacked up to see the result. |
I found an issue when implementing this, which is that the progress report doesn't show skipped files. I'll fix that at the same time. It wasn't really a problem before, but now the progress needs to know that all files were processed to be able to print 100%. |
…sing (request #1697) Also fixed an issue where progress output wasn't showing skipped files. Skipped files now set their path correctly even though they are not tokenized, and are reported by the runner and not the file itself.
This has been added now. Given it's also fixing the missing the display of skipped files, I've rolled it into the next bug fix release. |
Only a minor UX improvement, but the last line of the progress meter may be clarified better by including the full number of files and percentage i.e. for the above example,
68/68 (100%)
.The text was updated successfully, but these errors were encountered: