clockworklabs / clockworklabs/SpacetimeDB
TypeScript SDK: Add SDK test suite client
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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