Skip to content

[codex] Capture Kompact test logging through libtest#227

Merged
Bathtor merged 1 commit into
kompics:masterfrom
Bathtor:codex/issue-225-libtest-logger
May 14, 2026
Merged

[codex] Capture Kompact test logging through libtest#227
Bathtor merged 1 commit into
kompics:masterfrom
Bathtor:codex/issue-225-libtest-logger

Conversation

@Bathtor
Copy link
Copy Markdown
Contributor

@Bathtor Bathtor commented May 14, 2026

Summary

  • Add reusable kompact::test_support helpers that route Kompact slog output and the log facade through libtest-captured stdout.
  • Allow tests to replace the process default Kompact logger so default KompactConfig systems stay quiet in successful runs.
  • Migrate core, network, local example, and network example tests to use captured logging while preserving normal example code paths.

Closes #225.

Validation

The new test-support writer has unit coverage for partial-line buffering and flush behaviour. Existing core component/runtime tests exercise captured logging for default and custom configurations, existing network tests cover reuse from kompact-net, and the local and network example tests cover test initialisation around example entry points.

@Bathtor Bathtor marked this pull request as ready for review May 14, 2026 09:04
@Bathtor Bathtor merged commit abf3fa7 into kompics:master May 14, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Capture Kompact test logger output through libtest

1 participant