Pytest Tutorial – How to Test Python Code

Veröffentlicht am: 23 Oktober 2023
auf dem Kanal: freeCodeCamp.org
333,787
6k

Learn how to use pytest, the powerful testing framework for Python. Throughout this course you'll gain a deep understanding of pytest's features, best practices, and the nuances of writing effective tests. And at the end, you'll learn how you can use ChatGPT to help you write tests quicker.

✏️ Course developed by ‪@iamrithmic‬
𝑿   / rithmio  

❤️ Try interactive Python courses we love, right in your browser: https://scrimba.com/freeCodeCamp-Python (Made possible by a grant from our friends at Scrimba)

⭐️ Contents ⭐️
(0:00:00) Introduction
(0:06:06) Our First Tests
(0:19:28) Class-based Tests
(0:29:49) Fixtures
(0:41:10) Mark & Parametrize
(0:55:24) Mocking
(1:13:16) Testing with ChatGPT

🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama

--

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news


Auf dieser Seite können Sie das Online-Video Pytest Tutorial – How to Test Python Code mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer freeCodeCamp.org 23 Oktober 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 333,787 Mal angesehen und es wurde von 6 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!