macOS
brew install cppunitlocal Homebrew formula metadata
sudo port install cppunitMacPorts ports tree · devel/cppunit/Portfile · 来源: api.github.com
安装
brew install cppunitlocal Homebrew formula metadata
sudo port install cppunitMacPorts ports tree · devel/cppunit/Portfile · 来源: api.github.com
sudo apk add cppunitAlpine Linux edge package indexes · cppunit · 来源: dl-cdn.alpinelinux.org
sudo dnf install cppunitFedora Rawhide package metadata · cppunit · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cppunitnixpkgs package indexes · pkgs/by-name/cp/cppunit/package.nix · 来源: api.github.com
sudo pacman -S cppunitArch Linux sync databases · cppunit · 来源: geo.mirror.pkgbuild.com
sudo apt install libcppunit-1.15-0Debian stable package indexes · libcppunit-1.15-0 · 来源: deb.debian.org
sudo zypper install cppunit-developenSUSE Tumbleweed package metadata · cppunit-devel · 来源: download.opensuse.org
概览
Unit testing framework for C++
历史
CppUnit is a C++ unit-testing framework modeled on JUnit. Its official documentation describes it as the C++ port of JUnit and points users to cookbook-style examples and generated API documentation.
The official Doxygen documentation traces CppUnit to Michael Feathers' first C++ port of JUnit, followed by Jerome Lacoste's Unix/Solaris port. The CppUnit project combined and extended those earlier efforts rather than starting as an isolated implementation.
The freedesktop.org project page describes the current project as a continuation of the original CppUnit project and hosts source access, release tarballs, and contribution instructions under the LibreOffice/freedesktop infrastructure.
CppUnit became a conventional packaged dependency for C and C++ projects that wanted xUnit-style tests without bundling a framework. Its source distribution and release tarballs are exposed from the freedesktop.org/LibreOffice infrastructure, and the package is distributed by Homebrew and major Unix-like package managers in the input package metadata.
The framework is used to define C++ unit tests, run them through command-line or GUI-oriented runners, and emit XML test output for automated test systems.
CppUnit matters to package maintainers because it is both a library and a test dependency: downstream builds often need the headers and library for test suites, while the installed package may also expose utilities such as DllPlugInTester.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
DllPlugInTester | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.freedesktop.org/www/Software/cppunit/
安装元数据
| 软件包键 | brew:cppunit |
|---|---|
| 版本 | 1.15.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cppunit |
| 主页 | https://wiki.freedesktop.org/www/Software/cppunit/ |
| 仓库 | https://cgit.freedesktop.org/libreoffice/cppunit |
| 上游文档 | https://people.freedesktop.org/~mmohrhard/cppunit |
| 许可证 | LGPL-2.1-only |
| 源码归档 | https://dev-www.libreoffice.org/src/cppunit-1.15.1.tar.gz |
| 最后更新 | 2026-06-28T00:26:54-04:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cppunit |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libcppunit-1.15-0 1.15.1-4+b2
Unit Testing Library for C++
https://www.freedesktop.org/wiki/Software/cppunit
sudo apt install libcppunit-1.15-0libcppunit-dev 1.15.1-4+b2
Unit Testing Library for C++ - development library
https://www.freedesktop.org/wiki/Software/cppunit
sudo apt install libcppunit-devlibcppunit-doc 1.15.1-4
Unit Testing Library for C++ - documentation
https://www.freedesktop.org/wiki/Software/cppunit
sudo apt install libcppunit-doccppunit
nix profile install nixpkgs#cppunitlibcppunit-1.15-0 1.15.1-4build1
Unit Testing Library for C++
https://www.freedesktop.org/wiki/Software/cppunit
sudo apt install libcppunit-1.15-0libcppunit-dev 1.15.1-4build1
Unit Testing Library for C++ - development library
https://www.freedesktop.org/wiki/Software/cppunit
sudo apt install libcppunit-devlibcppunit-doc 1.15.1-4build1
Unit Testing Library for C++ - documentation
https://www.freedesktop.org/wiki/Software/cppunit
sudo apt install libcppunit-doccppunit 1.15.1-r4
C++ unit testing framework
https://www.freedesktop.org/wiki/Software/cppunit/
sudo apk add cppunitcppunit-dev 1.15.1-r4
C++ unit testing framework (development files)
https://www.freedesktop.org/wiki/Software/cppunit/
sudo apk add cppunit-devcppunit-doc 1.15.1-r4
C++ unit testing framework (documentation)
https://www.freedesktop.org/wiki/Software/cppunit/
sudo apk add cppunit-doccppunit 1.15.1-27.fc44
C++ unit testing framework
https://www.freedesktop.org/wiki/Software/cppunit/
sudo dnf install cppunitcppunit-devel 1.15.1-27.fc44
Libraries and headers for cppunit development
https://www.freedesktop.org/wiki/Software/cppunit/
sudo dnf install cppunit-develcppunit-doc 1.15.1-27.fc44
HTML formatted API documention for cppunit
https://www.freedesktop.org/wiki/Software/cppunit/
sudo dnf install cppunit-doccppunit 1.15.1-5
A C++ unit testing framework
https://www.freedesktop.org/wiki/Software/cppunit
sudo pacman -S cppunitcppunit-devel 1.15.1-1.24
Include Files and Libraries for cppunit
https://www.freedesktop.org/wiki/Software/cppunit
sudo zypper install cppunit-develcppunit-devel-32bit 1.15.1-1.24
Include Files and Libraries for cppunit
https://www.freedesktop.org/wiki/Software/cppunit
sudo zypper install cppunit-devel-32bit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.