YoVDO

Writing Unit Tests for C Code in Python

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Python Courses C Programming Courses Unit Testing Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to leverage Python's powerful unit testing capabilities for C code in this informative EuroPython Conference talk. Learn to combine CFFI and pycparser to create Python unit tests for C code without writing any C in the test cases. Explore techniques for creating mock functions in Python to handle external dependencies in C code. Gain insights into the challenges of mixing Python and C, along with strategies to overcome them. Follow along as the speaker presents multiple examples, discusses potential drawbacks, and addresses audience questions to help you implement this approach in your own projects.

Syllabus

Introduction
First example
Second example
Third example
Fourth example
Drawbacks
Questions


Taught by

EuroPython Conference

Related Courses

Ruby on Rails: An Introduction
Johns Hopkins University via Coursera
Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera
Engineering Maintainable Android Apps
Vanderbilt University via Coursera
Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera
TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera