Introduction to Programming with Python: Assert and Unit Testing with Pytest

Sdílet
Vložit
  • čas přidán 24. 07. 2022
  • 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 Progra...
    Source code on Github: github.com/gsprint23/Python-D...
  • Jak na to + styl

Komentáře •