georgemarselis / openlava-macosx

Automatically exported from code.google.com/p/openlava-macosx
GNU General Public License v2.0
1 stars 0 forks source link

testing: CFFI: Foreign Function Interface for Python calling C code #204

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Looks promising, especially if you consider the WebUI in django.

https://bitbucket.org/cffi/cffi

Example:

https://bitbucket.org/arigo/arigo/src/080a725847d34bc79c868603aa4fffd4b60b9e0e/h
ack/stm/c3/test/test_nursery.py?at=default

Comment from reddit user: 
    "For what is worth, we found out that using Python + cffi is a very good way to test C. This is a test example (using py.test)"
 http://www.reddit.com/r/programming/comments/1f6rv8/a_c_unit_test_engine_done_in_c_and_python_for_c/ca7d339

Found in: 
http://www.reddit.com/r/programming/comments/1f6rv8/a_c_unit_test_engine_done_in
_c_and_python_for_c/

Original issue reported on code.google.com by geo...@marsel.is on 28 May 2013 at 4:32