barbu110 / ctest

small testing utility for C programs
MIT License
4 stars 1 forks source link

_ctest_main introduced and ctest converted to library #9

Open alexgrusu opened 5 years ago

alexgrusu commented 5 years ago

8 can be closed.

ctest is now a library that can be used in any unit testing project in a simple manner. load_suites() modified in order to register all tests if there is no suite defined in the preprocessing stage. Also, a specific suite could be registered by defining accordingly the MYSUITE variable from the Makefile. In order to provide a proper example, the example.c has been updated .