[TIP] Running C unit tests with pytest
John McNamara
jmcnamara13 at gmail.com
Wed Feb 5 17:51:11 PST 2014
Hi,
I've put together a small tutorial on running C unit tests with pytest based on the Yaml example in the pytest docs.
The tutorial is here:
http://pytest_c_testrunner.readthedocs.org
The source code for the conftest.py and C unit test are on GitHub:
http://github.com/jmcnamara/pytest_c_testrunner
You can see what (intentionally) failing test cases look like here:
https://travis-ci.org/jmcnamara/pytest_c_testrunner/jobs/18315539
This is really just a proof of concept and I'm still iterating on the docs but if anyone is interested or would like to give some feedback then I would be glad to hear.
John
More information about the testing-in-python
mailing list