C++ library extracted from ReqPack: orchestration, planning, execution, registry, plugins (LuaBridge), state, remote, export, and security bridge glue.
ReqPack (rqp) links this library together with the CLI and output layers from the main ReqPack repository.
src/main/cpp/core/ Domain implementation
src/main/cpp/plugins/ LuaBridge + plugin runtime
src/main/include/ Public headers (core/, plugins/)
tests/unit/ Library unit tests
tests/integration/ Library integration tests
tests/fixtures/ Shared plugin/config fixtures
Requires the ReqPack CLI checkout for output sources (REQPACK_CLI_DIR):
cmake -S . -B build \
-DREQPACK_CORE_BUILD_TESTS=ON \
-DREQPACK_CLI_DIR=../reqpack \
-DSOL2_INCLUDE_DIR_OVERRIDE=/path/to/sol2/include
cmake --build build
ctest --test-dir build --output-on-failureOr:
make build
make test-unit
make test-integration
make test-coverage # unit tests + gcovr summary (>=85% tracked)
make qa # format-check + lint + unit tests + fuzz| Target | Description |
|---|---|
make format-check |
Verify clang-format (dry run) |
make format |
Apply clang-format in place |
make lint |
Run clang-tidy via build/lint/compile_commands.json |
make fuzz |
libFuzzer smoke run (Clang required) |
make test-coverage |
Debug build with gcovr summary + badge update |
make qa |
format-check + lint + test-unit + fuzz |
Coverage excludes TCP remote serve/client glue, hermetic plugin test runner E2E paths, full orchestrator subprocess flows, platform host probing, archive/process subprocess helpers, and a few plugin runtime dispatch backends that are exercised by integration tests. See tests/coverage_summary.py for the full exclusion list.
ReqPack resolves this library automatically (local sibling, -DREQPACK_CORE_DIR=…, or FetchContent from GitHub). Core unit/integration tests use the core::unit:: and core::integration:: CTest prefixes. ReqPack keeps CLI output tests (cli::unit::) and system tests.
- ReqPack —
rqpCLI - reqpack-security-core — vulnerability scanning library