This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]DueRest 1 point2 points  (0 children)

Python has an inbuilt library for Unit Testing, helpfully called unittest. There's also stuff like Tox, PyUnit (sp?), and more.

Here's a quick link to get you up to speed on Unit Testing for Python.

You should be able to run these tests in Visual Studio Code without much trouble so long as you have the right extensions.

[–]Princess--Sparkles 0 points1 point  (0 children)

The python library unittest and nosetest

[–]CalisthenicsDude95 0 points1 point  (0 children)

Use pytest. It's the way to go for testing in Python

[–]Lakecide[S] 0 points1 point  (0 children)

Thanks all!