Skip to content

test: Add tests and CI for NIOAsyncRuntime#3488

Draft
scottmarchant wants to merge 3 commits intoapple:mainfrom
PassiveLogic:test/addTestsAndCIForNIOAsyncRuntime
Draft

test: Add tests and CI for NIOAsyncRuntime#3488
scottmarchant wants to merge 3 commits intoapple:mainfrom
PassiveLogic:test/addTestsAndCIForNIOAsyncRuntime

Conversation

@scottmarchant
Copy link
Contributor

@scottmarchant scottmarchant commented Jan 22, 2026

Ports relevant tests from NIOPosix for the functionality in NIOAsyncRuntime and adjusts CI to build NIOAsyncRuntime, NIOPosix, and NIOEmbedded

IMPORTANT: Please wait to review this PR until the dependent PR's listed below are merged. This PR will be updated and rebased once #3487 is merged, and kept in draft until then.

Motivation:

NIOAsyncRuntime should have thorough tests and CI integration. It should pass all the same tests that are available in NIOPosix, within reason

Modifications:

  • Nearly verbatim copy-paste of tests from NIOPosix, but with conversion to Swift Testing.
  • CI builds NIOAsyncRuntime, NIOPosix, NIOEmbedded, and NIOCore to wasm. Previously only built NIOCore.

Result:

NIOAsyncRuntime functionality achieves same or nearly the same test coverage as NIOPosix.

PR Dependencies

The following PR's must be merged first:

@scottmarchant scottmarchant force-pushed the test/addTestsAndCIForNIOAsyncRuntime branch 7 times, most recently from 90d91a7 to ef885a9 Compare January 29, 2026 06:21
@scottmarchant scottmarchant force-pushed the test/addTestsAndCIForNIOAsyncRuntime branch 2 times, most recently from acdb4a9 to 0db40da Compare January 30, 2026 00:09
@scottmarchant scottmarchant force-pushed the test/addTestsAndCIForNIOAsyncRuntime branch 4 times, most recently from 46491d6 to 01f6fe9 Compare February 10, 2026 00:47
…ncRuntime is a new module that provides alternative implementations of MTELG and NIOThreadPool using Swift Concurrency. It compiles to wasm and runs in the browser.
…me provides the same functionality as equivalent components in NIOPosix.
@scottmarchant scottmarchant force-pushed the test/addTestsAndCIForNIOAsyncRuntime branch from 01f6fe9 to 620b816 Compare February 12, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant