earswideopen / ewo-core

Open source hearing aid system
http://earswideopen.net
GNU General Public License v2.0
7 stars 3 forks source link

Support of unit tests #3

Closed mattberjon closed 8 years ago

mattberjon commented 8 years ago

To avoid too much regression in the future, it would be nice to write unit tests for most of the functions.

mattberjon commented 8 years ago

I had a look to few different unit test frameworks available in C such as:

Unity is a bit a pain in the ass to be integrated correctly into autotools. I decided to gave a shot with Cmocka that seems to carry a bit more features and seems to be still under development.