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

Artificial Intelligence for Robotics
Stanford University via Udacity
Intro to Computer Science
University of Virginia via Udacity
Design of Computer Programs
Stanford University via Udacity
Web Development
Udacity
Programming Languages
University of Virginia via Udacity