0 branches
Tree
Top files
Clone with HTTPS:
x.async integration tests
This folder contains module-oriented integration tests for x.async.
Tests are validation-first programs. Unlike the examples, they are written to assert edge cases, error propagation, cancellation behavior, backpressure, and module integration boundaries. They should fail when a regression is introduced.
The tests are deliberately local and synthetic. They verify that x.async
composes cleanly with selected V modules without modifying those modules and
without depending on public network services, fixed ports, filesystem paths, or
fragile server shutdown behavior.
Current subfolders:
net_http/: in-memorynet.httprequest/response work throughPool.net_websocket/: in-memorywebsocket.Messageprocessing and callback-style error propagation throughTaskandGroup.mcp/: in-memory MCP JSON-RPC request/response dispatch throughTask.veb/: in-memoryveb.Contextresponse lifecycle throughwith_timeout().Run through the guarded validation path:
The validation script uses isolatedsh vlib/x/async/tools/validate.shVTMPandVCACHEand runs serially.