
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
@durable-streams/server-conformance-tests
Advanced tools
Conformance test suite for Durable Streams server implementations
Protocol compliance test suite for Durable Streams server implementations.
This package provides a comprehensive test suite to verify that a server correctly implements the Durable Streams protocol.
npm install @durable-streams/server-conformance-tests
# or
pnpm add @durable-streams/server-conformance-tests
The easiest way to run conformance tests against your server:
npx @durable-streams/server-conformance-tests --run http://localhost:4437
Watch source files and automatically rerun tests when changes are detected:
npx @durable-streams/server-conformance-tests --watch src http://localhost:4437
# Watch multiple directories
npx @durable-streams/server-conformance-tests --watch src lib http://localhost:4437
Usage:
npx @durable-streams/server-conformance-tests --run <url>
npx @durable-streams/server-conformance-tests --watch <path> [path...] <url>
Options:
--run Run tests once and exit (for CI)
--watch <paths> Watch source paths and rerun tests on changes (for development)
--help, -h Show help message
Arguments:
<url> Base URL of the Durable Streams server to test against
You can also run the conformance tests programmatically within your own test suite:
import { runConformanceTests } from "@durable-streams/server-conformance-tests"
// In your test file (e.g., with vitest)
describe("My Server Implementation", () => {
const config = { baseUrl: "" }
beforeAll(async () => {
// Start your server
const server = await startMyServer({ port: 0 })
config.baseUrl = server.url
})
afterAll(async () => {
await server.stop()
})
// Run all conformance tests
runConformanceTests(config)
})
Add conformance tests to your CI pipeline:
# GitHub Actions example
jobs:
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm install
- name: Start server
run: npm run start:server &
- name: Wait for server
run: npx wait-on http://localhost:4437
- name: Run conformance tests
run: npx @durable-streams/server-conformance-tests --run http://localhost:4437
The conformance test suite covers:
Apache 2.0
FAQs
Conformance test suite for Durable Streams server implementations
We found that @durable-streams/server-conformance-tests demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.