evanpacini / netpbm-c

Some headers and experiments with netpbm and C.
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

testing: do tests #20

Open evanpacini opened 1 year ago

evanpacini commented 1 year ago

This project is in dire need of (unit) tests before it grows too large. Unit testing frameworks in C are not the best, but some do exist.

KaspervanM commented 1 year ago

I am thinking either Criterion or CMocka

I believe both are cross platform, seem quite extensive, are still actively worked on and work well with CMake. My preference goes to Criterion because I think it can also generate code reports.

evanpacini commented 1 year ago

I was also quite liking Criterion. So I think Criterion is a good choice.