Skip to content

test(bun): Add bun integration test folder#20286

Merged
s1gr1d merged 4 commits intodevelopfrom
sig/bun-integration-test
Apr 15, 2026
Merged

test(bun): Add bun integration test folder#20286
s1gr1d merged 4 commits intodevelopfrom
sig/bun-integration-test

Conversation

@s1gr1d
Copy link
Copy Markdown
Member

@s1gr1d s1gr1d commented Apr 14, 2026

Adds a Bun integration test suite (dev-packages/bun-integration-tests) modeled after the Cloudflare and Node integration tests. The runner spawns Bun child processes, points them at a mock Sentry server, and asserts on the collected envelopes.

Includes a test for basic error capture. More test suites will be added while working on the Hono SDK.

A CI job (job_bun_integration_tests) is added to build.yml that only runs when relevant code changes.

@s1gr1d s1gr1d requested review from Lms24 and andreiborza April 14, 2026 14:22
Comment thread dev-packages/bun-integration-tests/suites/basic/index.ts Outdated
@s1gr1d s1gr1d requested a review from a team April 14, 2026 14:27
Copy link
Copy Markdown
Member

@andreiborza andreiborza left a comment

Choose a reason for hiding this comment

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

Nice!

@s1gr1d s1gr1d enabled auto-merge (squash) April 15, 2026 08:04
@s1gr1d s1gr1d merged commit 31fc5d9 into develop Apr 15, 2026
475 of 477 checks passed
@s1gr1d s1gr1d deleted the sig/bun-integration-test branch April 15, 2026 09:18
mydea pushed a commit that referenced this pull request Apr 15, 2026
Adds a Bun integration test suite (`dev-packages/bun-integration-tests`)
modeled after the Cloudflare and Node integration tests. The runner
spawns Bun child processes, points them at a mock Sentry server, and
asserts on the collected envelopes.

Includes a test for basic error capture. More test suites will be added
while working on the Hono SDK.

A CI job (`job_bun_integration_tests`) is added to `build.yml` that only
runs when relevant code changes.
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.

3 participants