Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Python Unit Testing With VS Code

VS Code can automatically recognize existing Python tests and run them. Learn how to configure it to run test suites, individual tests as well as view test output.

Link to PyEval repo: https://github.com/JFincher42/PyEval.git

Comments & Discussion

Brendan Leber on April 5, 2019

FYI, if you are running the “Insider’s Edition” the shell command to run is “code-insiders .”

Austin Cepalia RP Team on April 5, 2019

Great tip! I’ll add it to the video descriptions I’m writing now

AugustoVal on April 6, 2019

Hello Austin,

Where could I find the link for the repo?

Jacob Andersen on April 7, 2019

I’m using visual studio code for windows and can’t seem to find the shell command shown 43 seconds into the video. I open the command palette just fine, but there is no sign of the ‘install code command in PATH ‘ statement.

Austin Cepalia RP Team on April 7, 2019

It appears that the VS Code installer for Windows automatically adds the program executable to the PATH, so that step can be ignored. You should still be able to type “code .” in your command prompt or bash shell, just as I did in the video.

Anonymous on July 24, 2019

I have no shell command ” Install ‘code’ Command in path”

Anonymous on July 24, 2019

Code is not automatically installed in path on my windows machine.

Become a Member to join the conversation.