Skip to content

CI - cargo test covers all languages#4921

Draft
bfops wants to merge 11 commits intomasterfrom
bfops/cargo-test-all
Draft

CI - cargo test covers all languages#4921
bfops wants to merge 11 commits intomasterfrom
bfops/cargo-test-all

Conversation

@bfops
Copy link
Copy Markdown
Collaborator

@bfops bfops commented Apr 30, 2026

Description of Changes

TODO:

  • Exclude the new crates from the typical test invocations

API and ABI breaking changes

Expected complexity level and risk

Testing

TypeScript harness:

  • Run the wrapped TypeScript suite:
    • cargo test -p spacetimedb-typescript-tests
  • This runs pnpm build, pnpm vitest run with a JUnit report, then pnpm vitest typecheck --run. Reports are written under target/language-tests/typescript/.

C# harness:

  • Pre-build the local server binaries before running the full C# harness:
    • cargo build -p spacetimedb-cli -p spacetimedb-standalone --features spacetimedb-standalone/allow_loopback_http_for_tests
  • Run the wrapped C# suite:
    • cargo test -p spacetimedb-csharp-tests
  • This runs the bindings tests, packs/restores the SDK solution against local NuGet packages, runs the SDK tests, and then runs the C# regression script against a temporary SpacetimeDB server started through spacetimedb-guard. TRX reports are written under target/language-tests/csharp/.

@bfops bfops linked an issue Apr 30, 2026 that may be closed by this pull request
2 tasks
Comment thread tools/ci/src/main.rs Outdated
bfops and others added 4 commits April 30, 2026 15:07
Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
….com:clockworklabs/SpacetimeDB into bfops/cargo-test-all
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.

Run simple language tests under cargo test

1 participant