Skip to content

Add dot correctness tsts - #127

Merged
james-d-mitchell merged 2 commits into
gap-packages:mainfrom
james-d-mitchell:add-dot-correctness-tsts
Oct 16, 2026
Merged

james-d-mitchell merged 2 commits into
gap-packages:mainfrom
james-d-mitchell:add-dot-correctness-tsts

Conversation

@james-d-mitchell

@james-d-mitchell james-d-mitchell commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

It occurred to me at some point that although the package itself doesn't contain any validation (or much at least), when making changes to the package we'd like to make sure that we don't introduce changes that change the output strings, and make them invalid in the process (i.e. that we don't introduce changes that make previously valid DOT output now be invalid). This PR adds this to the test setup. It highlighted a couple of issues in the tests themselves. I resolved one of these, and indicated that the other (related to HTML labels) should be fixed when we fix the quoting of labels.

Produced with the assistance of Codex GPT6 (this description written by a human tho).

Parse generated DOT during the test suite and reject unexpected validation failures.

AI assistance: Codex (GPT-6) separated the existing changes into commits.

Assisted-by: Codex (GPT-6)
@james-d-mitchell
james-d-mitchell force-pushed the add-dot-correctness-tsts branch from 6b82723 to 3c22c0a Compare October 16, 2026 11:42
@james-d-mitchell
james-d-mitchell merged commit f2e6682 into gap-packages:main Oct 16, 2026
6 checks passed
@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.73239% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.95%. Comparing base (8bba23d) to head (3c22c0a).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
tst/testdot.g 87.27% 7 Missing ⚠️
tst/testall.g 93.75% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #127      +/-   ##
==========================================
- Coverage   96.40%   95.95%   -0.45%     
==========================================
  Files          12       13       +1     
  Lines        1167     1236      +69     
==========================================
+ Hits         1125     1186      +61     
- Misses         42       50       +8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@james-d-mitchell
james-d-mitchell deleted the add-dot-correctness-tsts branch October 16, 2026 11:48
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