clockworklabs / clockworklabs/SpacetimeDB

Test coverage - Expand C# SDK test suite

Open
#3,071 2 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

Definition of Done

  • [UNIT] Test to ensure that one off queries work
  • [INTEGRATION] Test to ensure that one off queries work
  • [INTEGRATION] Test to make sure that you can create a subscription and receive inserts, updates, and deletes
  • [INTEGRATION] Test to see that when you submit a query that violates row limit, you receive an appropriate error and not an exception
  • [INTEGRATION] Test to change your subscription and ensuring that the new data is applied correctly (all old data is deleted and all new data is inserted)
  • [UNIT] Test to ensure that after a message is received on the websocket it takes less than X (reasonable time) to deserialize and populate into the client cache table.

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

Locate the C# SDK test projects and begin with the existing integration test for one-off queries, which is the only completed item listed. Add coverage for the unchecked unit, subscription, row-limit, subscription-change, and deserialization cases; confirm the acceptable performance threshold before implementing the timing test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
database, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.