CUnit
1.1、CUnit简介
是什么 ?:a Unit Testing Framework for C.
开发语言:C
官方主页:http://cunit.sourceforge.net
1.2、通过包管理器安装CUnit
操作系统包管理器安装命令
Allvcpkg
vcpkg install cunit
vcpkg install cunit:x64-osx
vcpkg install cunit:x64-linux
vcpkg install cunit:x64-windows
macOSHomeBrewbrew install cunit
GNU/LinuxLinuxBrewbrew install cunit
aptsudo apt-get install -y cunit
CentOSyumsudo yum install -y cunit
dnfsudo dnf install -y cunit
openSUSEzyppersudo zypper install -y cunit
Alpine Linuxapksudo apk add cunit

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm cunit
Gentoo LinuxPortagesudo emerge cunit
1.3、通过编译源码安装CUnit
1.4、CUnit中包含的头文件
1.5、CUnit中包含的库文件
  • libcunit.{a | so | dylib}