Skip to content

chore: refactor test suite to be all internal tests - #78

Merged
mccutchen merged 1 commit into
mainfrom
internal-test-refactor
Dec 4, 2025
Merged

chore: refactor test suite to be all internal tests#78
mccutchen merged 1 commit into
mainfrom
internal-test-refactor

Conversation

@mccutchen

Copy link
Copy Markdown
Owner

Testing almost entirely by the public API alone was a fun experiment, but it requires a few too many weird decisions (e.g. exposing the BufferedConn type solely for the purposes of testing). Let's keep it simple.

@github-actions

github-actions Bot commented Dec 4, 2025

Copy link
Copy Markdown

🔥 Run benchmarks comparing d8082b7 against main:

gh workflow run bench.yaml -f pr_number=78

Note: this comment will update with each new commit.

@codecov

codecov Bot commented Dec 4, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.07%. Comparing base (f11bce5) to head (d8082b7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #78   +/-   ##
=======================================
  Coverage   99.07%   99.07%           
=======================================
  Files           2        2           
  Lines         431      431           
=======================================
  Hits          427      427           
  Misses          2        2           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 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.

@mccutchen
mccutchen merged commit 62f15ba into main Dec 4, 2025
13 checks passed
@mccutchen
mccutchen deleted the internal-test-refactor branch December 4, 2025 11:11
mccutchen added a commit that referenced this pull request Dec 5, 2025
A fast-follow on #78. The only reason our semi-complex
`clientServerTest` mechanism passed both a `*Websocket` and a `net.Conn`
into the test methods is because otherwise the websocket's underlying
conn was inaccessible via the public API.
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