This video provides an introduction to using the assert statement for unit testing with PyTest in Python. Specifically, the following topics are covered:
-How the assert statement works and what it used for
-Definitions of unit testing, test case, and test-driven development (TDD)
-An example using TDD to test a numeric computation function (calculating the Euclidean distance between two points/vectors)
This video is the fifteenth video in a multi-part series on getting started with the Python programming language. Next video in the series on import statements and __name__: • Introduction to Programming with Pyth...
Source code on Github: https://github.com/gsprint23/Python-D...
Sur cette page du site, vous pouvez voir la vidéo en ligne Introduction to Programming with Python: Assert and Unit Testing with Pytest durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Gina Sprint 25 juillet 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 731 fois et il a aimé 20 téléspectateurs. Bon visionnage!