Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1007 Bytes

File metadata and controls

37 lines (27 loc) · 1007 Bytes

Testing

Short reference for local validation. The fuller guide is ../docs/testing.md.

Default

cargo fmt --all -- --check
./scripts/check-file-sizes.sh
./scripts/check-workspace-deps.sh
./scripts/check-gpu-async-blocking.sh
cargo test --workspace --all-targets --features "engine,plugins"
cargo clippy --workspace --all-targets --features "engine,plugins" -- -D warnings

Focused

cargo test -p daedalus-runtime --features "plugins"
cargo test -p daedalus-ffi-core
cargo test -p daedalus-ffi-host
cargo test -p daedalus-rs --features "engine,plugins" --examples

Docker

cargo test -p daedalus-rs --test docker_examples -- --ignored --nocapture

The Docker suite uses docker/daedalus-examples.Dockerfile.

Notes

  • Use gpu-mock for deterministic GPU-path coverage.
  • Use gpu-wgpu only on hardware-backed hosts.
  • File-size linting is warning-only and reads ci/file-size-baseline.txt.