Skip to content

Document subprocess coverage measurement - #99

Merged
arcivanov merged 1 commit into
sourcefrom
document-subprocess-coverage
Sep 12, 2026
Merged

arcivanov merged 1 commit into
sourcefrom
document-subprocess-coverage

Conversation

@arcivanov

Copy link
Copy Markdown
Member

Documents the subprocess coverage measurement added in pybuilder/pybuilder#949.

  • Release notes (v0.13.x.md) — new 0.13.22 section: subprocess measurement and the coverage_subprocesses property under New Features, the coverage.py >=7.13 floor under Changed Features.
  • Plugin reference (plugins.md) — coverage_subprocesses row in the coverage property table, plus a "Measuring subprocesses" subsection explaining the startup hook, the recursion into nested builds, and what happens under --no-venvs.
  • Manual (manual.md) — a "Subprocess Measurement" section in the coverage chapter and a bullet in the coverage mechanics list.

The --no-venvs case is called out separately in both the manual and the plugin reference, because nothing of PyBuilder's is planted into a Python it did not build: measurement there rides on coverage.py's own startup hook, which is the reason for the 7.13 floor.

Covers the new coverage_subprocesses property, how the startup hook and
the configuration hand-off make a spawned Python measure itself, what
happens instead under --no-venvs, and the coverage.py 7.13 floor that
comes with it.

Accompanies pybuilder/pybuilder#949.
@arcivanov
arcivanov merged commit 086002c into source Sep 12, 2026
1 check passed
@arcivanov
arcivanov deleted the document-subprocess-coverage branch September 12, 2026 18:22
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.

1 participant