Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Python by (1.6k points)
I completed my first proper project in Python and now my task is to write tests for it.

Since this is the first time I did a project, this is the first time I would be writing tests for it.

The question is, how do I start? I have absolutely no idea. Can anyone point me to some documentation/ tutorial/ link/ book that I can use to start with writing tests (and I guess unit testing in particular)

Any advice will be welcomed on this topic.

1 Answer

0 votes
by (25.1k points)

Since you are a beginner, you can simply start by using the default unittest module in python.

Here is the link to the documentation: https://docs.python.org/3/library/unittest.html

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

29.3k questions

30.6k answers

501 comments

104k users

Browse Categories

...