Skip to content
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

Unittests error, wrong number of tests displayed on windows #708

Closed
cjavad opened this issue Feb 5, 2018 · 4 comments
Closed

Unittests error, wrong number of tests displayed on windows #708

cjavad opened this issue Feb 5, 2018 · 4 comments
Assignees
Labels
area-testing bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@cjavad
Copy link

cjavad commented Feb 5, 2018

Environment data

VS Code version: 1.19.3
Python Extension version: 2018.1.0
Python Version: Python 3.6
OS and version: Windows 10 1709 16299.192

Actual behavior

unittest reports 9 tests runned instead of 11 tests (besides the green checkmark. but it reports 11 runned in the output)
but on linux it reports 11 tests runned

Expected behavior

As on linux, 11 tests runned besides the green checkmark

Steps to reproduce:

  • create some unittests (make sure they are all discovered)
  • Use the "run all tests" command and see both the output from the terminal and the visual.

Logs

Output from Python output panel
bug_report_python_vscode_unittests

Output from Console window (Help->Developer Tools menu)

undefined
[Extension Host] Error: read ECONNRESET (links to this line `console[entry.severity].apply(console, consoleArgs;)`)

EDIT: If i make one of the tests fail, it says 10 instead of nine? but not displaying the red cross, and it prints an error Unhandled exception in thread started by

@DonJayamanne
Copy link

Please could you give us a sample repo that we could use to replicate this issue.
Thanks

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug area-testing awaiting 1-decision labels Feb 5, 2018
@cjavad
Copy link
Author

cjavad commented Feb 6, 2018

Sure it was while i was testing my hashit repo.

@DonJayamanne
Copy link

@cjavad How do you run the unit tests today?
Please could you provide the instructions? Thanks.

@DonJayamanne DonJayamanne added info-needed Issue requires more information from poster and removed needs verification labels May 3, 2018
@cjavad
Copy link
Author

cjavad commented May 8, 2018

I have yet to encounter this issue again, other than that one day,but i am suspecting an internal bug that has been fixed.

@cjavad cjavad closed this as completed May 8, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants