Closed Bug 1753795 Opened 3 years ago Closed 3 years ago

Add progress bar indicator to run_python_test

Categories

(Testing :: Python Test, enhancement)

enhancement

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

Details

Attachments

(1 file)

While I was initially investigating D137822 I found that the lack of feedback in regards to the progress of the tests was a bit lacking. Due to a bug they were running for over 3 minutes and I just had to wait it out with a blank command line while they executed.

I added an indication that the threads for each test were being created, but during code review I came up with a better idea: adding a progress bar via tqdm! I used tqdm to add a progress bar for some android bootstrapping a while back and it feel like it could be used here for the same purpose.

This will give additional feedback to the user. Now they will have
immediate feedback in regards to the progress of the test run, instead
of being unsure of what's happening until the first test run completes.

Depends on D137822

Pushed by ahochheiden@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/301ab3dd74ba Add progress bar (via tqdm) to running Python Tests r=ahal
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: