mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 23:59:43 -04:00
cfb185a235
# Description of Changes PR introduces support for column-level default values via a new `#[default(...)]` attribute. It also validates, `default` macro is not used along with `primary_key`, `unique` or `auto_inc`. # API and ABI breaking changes NA # Expected complexity level and risk 2 # Testing Start using macro in `module-test`. --------- Co-authored-by: James Gilles <jameshgilles@gmail.com>
module-test Rust test
Called as part of our integration tests to ensure the system is working as expected.
Note: Also mirrored as a C# version at
modules/module-test-cs, so must be kept in sync.
How to Run
Execute individual tests with module-test for Rust and module-test-cs for C#
at standalone_integration_test, or call
# Will run both Rust/C# module
cargo test -p spacetimedb-testing
# Only Rust
cargo test -p spacetimedb-testing rust
# Only C#
cargo test -p spacetimedb-testing csharp