Testing Guide
How to test Chain Forge.
Running Tests
bash
# All tests
cargo test --workspace
# With features
cargo test --workspace --all-features
# Specific crate
cargo test -p chain-forge-solana-core
# With output
cargo test --workspace -- --nocaptureTest Categories
Unit Tests
Located alongside code in src/ files.
Integration Tests
Located in tests/ directories.
CI/CD
Tests run on every PR via GitHub Actions:
- Format check
- Clippy lint
- Test suite
- Security audit