mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-13 03:08:40 -04:00
0a3dda7f4e
# Description of Changes Rust SDK test suite for views # API and ABI breaking changes None # Expected complexity level and risk 1 # Testing This patch only adds tests, it does not change functionality.
15 lines
398 B
Markdown
15 lines
398 B
Markdown
# `sdk-test-view` *Rust* test
|
|
|
|
This module tests that:
|
|
1. Rust client bindings are generated for views
|
|
2. You can register callbacks for views just like regular tables
|
|
3. Those callbacks are triggered when a view's dependencies are updated
|
|
|
|
## How to Run
|
|
|
|
Run tests named with `view` in the [Rust client SDK test suite](../../sdks/rust/tests/test.rs):
|
|
|
|
```sh
|
|
cargo test -p spacetimedb-sdk view
|
|
```
|