run-tests
Installation
SKILL.md
Run Tests & Verify
How to run tests, lint, and verify changes in the cx CLI. This skill covers running only - for writing new tests, see the add-command skill.
Quick Reference
| Command | What it does |
|---|---|
cargo test |
Run all unit + integration tests |
cargo test <name> |
Run tests matching a name substring |
cargo test -- --ignored |
Run integration tests (filesystem-dependent, skipped by default) |
cargo fmt --check |
Check formatting (no changes) |
cargo fmt |
Auto-fix formatting |
cargo clippy --locked -- -D warnings |
Lint with warnings-as-errors |
cargo build |
Verify compilation |
Full CI Check
This is the exact sequence CI runs on every PR. Run it before committing or creating a PR:
Related skills
More from coralogix/cx-cli
cx-telemetry-querying
|
187cx-alerts
This skill should be used when the user asks to "manage alerts", "create alert", "list alerts", "check alert status", "enable alert", "disable alert", "investigate firing alerts", "check which alerts are active", "find alerting rules", "set up an alert", "configure alerting", "mute an alert", "silence an alert", "see alert definitions", "check alert priority", or wants to manage Coralogix alert definitions using the cx CLI.
170cx-incident-management
>
159cx-create-dashboard
>
158cx-observability-setup
>
157cx-cost-optimization
>
148