There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
File changes such as add virtual env cause too many test discoveries
Create new python project
Add new item, unit test template
Open test explorer
Add new virtual env
Output window will show that virtual env was created, and you'll see it in solution explorer.
Output window (tests pane) will show several test discovery started/finished. Way too many. They will all appear to be done after the virtual env is created.
Add some packages to your virtual env (I added nose), and see the output window (tests pane) show several more test discoveries (over 80 when installing nose).
If this is happening because a lot of files are being created under the project's directory structure, we could use a timer so we fire the 'container changed' event only after the file system has been 'idle' for a second or two.