System Search C unit test

Several years have passed since I encoded any C (or C ++), and now I need to encode the application to work on the microcontroller. Development will be on Windows 7, a 64-bit PC, where unit tests will be performed.

Last time I used CppUnit, but I’m not sure what changegd can have in the last few years, and Wikipedia offers so many options that I could spend weeks trying all of them.

What matches this wish list?

  • can handle regular C (gcc under Cygwin)
  • fast learning curve
  • good documentation, including examples and support (forums).
  • can generate stubs (mocks?) from header files.
  • I use NetBeans as an IDE if that matters
  • Hudson integration is a bonus
  • GUI can be nice, other things being equal
  • I am slowly approaching TDD if that makes any difference.

Plus everything you can think of. thanks in advance

+6
source share
2 answers

The unit test framework check meets most of your requirements.

http://check.sourceforge.net/

+5
source

Source: https://habr.com/ru/post/901884/


All Articles