-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Not displaying full status when running large amount of tests #21344
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
Comments
Hi! When you switched to 10,000 did you reload the test UI? |
No, i only run the tests again |
I am still not able to repro this, these are the steps I followed. Could you provide steps or a video?
|
@paulacamargo25 to follow up, do you still experience this issue? |
What i did extra is that i run the first tests. yes sure, im going to try again |
so like:
I tried these steps and still got it working as expected. |
I was able to reproduce the issue, the problem occurs when you save the file and immediately run the tests afterwards. Screen.Recording.2023-06-05.at.4.47.02.PM.mov |
Ok sweet I was able to repro the issue. this seems to be the fix so we can test when this is merged to make sure. Thanks! |
verification steps:
|
I am a python noob and I cannot get my test to be discovered. My steps:
import pytest
@pytest.mark.parametrize("num", range(1, 100))
def test_odd_even(num):
assert True
No tests are discovered. |
Sorry to add the |
No worries!! I was rushing a bit when I wrote the steps so missed some important parts:
|
In Paula's demo, there is no step 7. Clicking the run button seems to save the file for me, and I still see a bug that way: The green checkmarks seem to be updated more consistently after I change it from range(1, 10) to range(1, 1000), but the counter at the top still says 29/37 tests passed. |
delaying to next iteration as I have to make some design decisions around how to best render with dirty changes vs cache for pytest. |
Testing #21306
Running this tests

First run the test with 100, and everything seems to work, then update the range to 100000. The tests start to run, the wheel appears in the previous 100, when the test ends I see that the previous 100 appear as complete, but the new ones appear as if they were never run.
The text was updated successfully, but these errors were encountered: