Document subprocess coverage measurement - #99
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the subprocess coverage measurement added in pybuilder/pybuilder#949.
v0.13.x.md) — new 0.13.22 section: subprocess measurement and thecoverage_subprocessesproperty under New Features, the coverage.py>=7.13floor under Changed Features.plugins.md) —coverage_subprocessesrow 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.md) — a "Subprocess Measurement" section in the coverage chapter and a bullet in the coverage mechanics list.The
--no-venvscase 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.