mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 15:49:35 -04:00
193ddfd670
# Description of Changes This API used to be unimplemented and the SDK tests did not exercise it. Now it is implemented but while playing with blackholio I noticed the C# implementation was wrong. For now I am going to fix blackholio by avoiding use of this API for now, but we should also correct the implementation and test it. # API and ABI breaking changes None # Expected complexity level and risk 0 # Testing Working on adding tests. If someone is more familiar with the SDK tests I would appreciate help amending them. Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com>
sdk-test Rust test
Exercise the functionality of the SpacetimeDB SDK API surface, modeling all the combination
of types, with several examples of tables, indexes and reducers.
Called as part of our tests to ensure the system is working as expected.
Note: Also mirrored as a C# version at
modules/sdk-test-cs, so must be kept in sync.
How to Run
Execute the tests on spacetimedb-sdk at test.rs:
# Will run both Rust/C# modules
cargo test -p spacetimedb-sdk
# Only Rust
cargo test -p spacetimedb-sdk rust
# Only C#
cargo test -p spacetimedb-sdk csharp