Gabriele Tornetta personal blog

Running C unit tests with Pytest

In this post I will describe my approach to C unit testing using pytest. In particular, we get to see how to gracefully handle SIGSEGVs and prevent them from stopping the test runner abruptly. Furthermore, we shall try to write tests in a Pythonic way.
Points
132
HN comments
41
Submissions
1
Cited by
0 commenters

Software EngineeringTools & Productivity2022

On Hacker News

SubmittedTitle on HNPointsComments
Feb 11, 2022Running C unit tests with Pytest by p403n1x8713241

Related posts from the same era