3 ms·
On tests
- CharlesMerriam2 10y agoTL;DR - Writing assertion based tests is great.
- rdentato 10y agoI think your approach is very interesting. I had implemented something similar but reverted to a simple API for tests as I felt it was too complicated to use (e.g. I had "testEQxxx()" for xxx in (int, str, ptr, ...). Actually I'm putting together a library much similar to yours (https://github.com/rdentato/clibutl https://github.com/rdentato/clibutl) and I would love to get in touch with you to share experiences (and C horror stories :) ).