Opened 9 hours ago
#36720 new Uncategorized
Printing how many tests found when running tests
| Reported by: | אורי | Owned by: | |
|---|---|---|---|
| Component: | Testing framework | Version: | 5.2 |
| Severity: | Normal | Keywords: | |
| Cc: | אורי | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Hi,
When I run tests in Django up to 5.1.*, Django prints "Found 798 test(s)." before running the tests. But in Django 5.2.*, Django prints "Found 798 test(s)." after running the tests. Since running the tests may take a long time, I would like Django to print the number of tests found before running the tests. This is a regression in Django 5.2. Is it possible to revert this change, at least in future versions of Django?
By the way, why "test(s)"? It should be "test" if the number is one or otherwise "tests".