cmocka is an elegant unit testing framework for C with support for mock objects. It only requires the standard C library, works on a range of computing platforms (including embedded) and with different compilers.
cmocka is an elegant unit testing framework for C with support for mock objects. It only requires the standard C library, works on a range of computing platforms (including embedded) and with different compilers.
To install cmocka, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install cmocka
To see what files were installed by cmocka, run:
port contents cmocka
To later upgrade cmocka, run:
sudo port selfupdate && sudo port upgrade cmocka
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.