Why am I getting “No tests discovered” with Python tests in VS Code?
问题 This is my first few lines of code but I've coded for 20 years so I quickly wanted to get unit testing running. I am using Windows 10 VS Code 1.30.2 from 7th January, 2019. Python 3.7.2 Python Extension ms-python.python 2018.12.1 Here's the contents of the folder I'm in. Directory: C:\DATA\Git\Py\my_first_code Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 19/01/2019 21:42 __pycache__ -a---- 19/01/2019 21:35 289 messing.py -a---- 19/01/2019 21:42 204 test_messing.py -a--