forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
pytest: Implement fifo based communication #23279
Copy link
Copy link
Closed
Labels
area-internalLabel for non-user facing issuesLabel for non-user facing issuesarea-testingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds PRReady to be worked onReady to be worked onon-testplanAdded to test planAdded to test plan
Milestone
Metadata
Metadata
Assignees
Labels
area-internalLabel for non-user facing issuesLabel for non-user facing issuesarea-testingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds PRReady to be worked onReady to be worked onon-testplanAdded to test planAdded to test plan
Why do we need to communicate like this?
Pytest reports tests as it discovers/runs it. we moved to this model so User has feedback on what is going on. For repos with > 10k tests some times the discovery process can take long and there is no indication on what is going on. We used socket communication to send back test status to update the UI.
Notes for anyone who wants to understand why this is complicated:
Things to consider:
fifois not available