YoVDO

Developing With Doctests - Using Xdoctest As A Backend

Offered By: PyCon US via YouTube

Tags

PyCon US Courses Python Courses Unit Testing Courses Test-Driven Development Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the world of doctests in Python and learn how to leverage them for interactive code development and unit testing. Discover the concept of embedding examples and tests within docstrings, and gain insights into writing effective doctests. Understand how doctests facilitate test-driven development by allowing you to define "demo" inputs that can be easily copied into IPython. Delve into the technical aspects of doctest syntax, directives, parsing, and execution. Then, dive into Xdoctest, a powerful alternative to Python's built-in doctest module, which offers enhanced functionality and flexibility. Learn about the limitations of doctest's regex-based parser and how Xdoctest's ast-based parser overcomes these challenges. By the end of this talk, gain the confidence to write, run, and develop with doctests effectively, enhancing your Python development workflow.

Syllabus

Talk: Jon Crall - Developing With Doctests - Using Xdoctest As A Backend


Taught by

PyCon US

Related Courses

Intro to Python for Brand New Programmers
PyCon US via YouTube
Comprehending Comprehensions
PyCon US via YouTube
Data Analysis with SQLite and Python
PyCon US via YouTube
Build a Production Ready GraphQL API Using Python
PyCon US via YouTube
Web Development With A Python-backed Frontend - Featuring HTMX and Tailwind
PyCon US via YouTube