Pytest Tutorial – How to Test Python Code

Publicado em: 23 Outubro 2023
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Pytest Tutorial – How to Test Python Code duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário freeCodeCamp.org 23 Outubro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 333,787 vezes e gostou 6 mil espectadores. Boa visualização!