Repository navigation
Migrate coverage assertions to end-to-end pytest cases - #20
Closed
AlexanderLanin wants to merge 1 commit into
Closed
AlexanderLanin wants to merge 1 commit into
AlexanderLanin wants to merge 1 commit into
Conversation
Contributor
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
Contributor
|
Documentation preview for this pull request is available at: |
| import pytest | ||
| from _blackbox_support import CoverageReport, collect_report | ||
|
|
||
| _REPOSITORY_ROOT = Path(__file__).resolve().parents[2] |
Contributor
There was a problem hiding this comment.
Small thing: this only works because the runfiles entry is a symlink into the source tree (.resolve() follows it) and bazel happens to be on PATH inside the test. Fine on the GitHub runners with tags = ["local"], but it would break under remote execution or with non-symlinked runfiles. Could you add a comment here saying that, and maybe fail with a clear message if the resolved path has no MODULE.bazel? Otherwise someone will chase a weird copytree error one day.
AlexanderLanin
force-pushed
the
testing/black-box-tests
branch
from
October 8, 2026 23:20
af5d880 to
1884725
Compare
AlexanderLanin
force-pushed
the
testing/black-box-tests
branch
from
October 8, 2026 23:59
1884725 to
07f3b11
Compare
AlexanderLanin
changed the base branch from
main
to
testing/end-to-end-pytest-setup
October 8, 2026 23:59
MaximilianSoerenPollak
deleted the branch
eclipse-score:testing/end-to-end-pytest-setup
October 9, 2026 16:24
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.
Why
Build on the pytest foundation in #33 to make each LLVM and gcov coverage check individually visible and traceable to requirements. This PR targets the setup branch so its diff focuses on migrating the coverage assertions.
Changes