clockworklabs / clockworklabs/SpacetimeDB

TypeScript SDK: Add SDK test suite client

Open
#2,972 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

Now that the TypeScript SDK is in-repo, create a client which performs the same tests as the Rust client SDK's crates/sdk/tests/test-client, and hook it up so that it runs in CI.

It will be easiest to add a new test file in crates/testing/tests which invokes the new TypeScript test client. Look to crates/sdk/tests/test.rs to see how this file should look.

The client itself should be a simple CLI app which runs in node.js or similar.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read crates/sdk/tests/test.rs and inspect the Rust client in crates/sdk/tests/test-client to understand the existing SDK test flow. Add the TypeScript client as a simple Node.js CLI, then add the test entry in crates/testing/tests and hook it into CI. Done means the TypeScript client performs the same tests and runs successfully in CI.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, rust, typescript
Domain
ci-cd, cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.