Skip to content

chore: Factor out some common logic in workerd tests - #236

Merged
hoodmane merged 1 commit into
cloudflare:mainfrom
hoodmane:hoodmane/test-refactor
Aug 31, 2026
Merged

chore: Factor out some common logic in workerd tests#236
hoodmane merged 1 commit into
cloudflare:mainfrom
hoodmane:hoodmane/test-refactor

Conversation

@hoodmane

Copy link
Copy Markdown
Contributor

There's a LOT of repeated junk in the various test worker.py files, this factors out some of it into a common TestRunnerEntrypoint. I also tried to tidy up as I did the refactoring.

@hoodmane
hoodmane force-pushed the hoodmane/test-refactor branch 3 times, most recently from 1f2df1f to 417e9c2 Compare August 29, 2026 00:24

@ryanking13 ryanking13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread packages/testlib/testlib/__init__.py
@hoodmane
hoodmane force-pushed the hoodmane/test-refactor branch 2 times, most recently from 9a6a72f to e6e8d51 Compare August 31, 2026 17:59
There's a LOT of repeated junk in the various test worker.py files, this factors
out some of it into a common `TestRunnerEntrypoint`. I also tried to tidy up as
I did the refactoring.
@hoodmane
hoodmane force-pushed the hoodmane/test-refactor branch from e6e8d51 to b5961c9 Compare August 31, 2026 18:40
@hoodmane
hoodmane merged commit 3a6c0ba into cloudflare:main Aug 31, 2026
15 checks passed
@hoodmane
hoodmane deleted the hoodmane/test-refactor branch August 31, 2026 18:53
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.

2 participants