Files
amitcoralogix f688e2fadc AIAP-1095 | Renaming agents -> toon (#194)
Co-authored-by: Snir Shechter <snir.shechter@coralogix.com>
2026-08-13 15:35:23 +03:00

34 lines
875 B
Rust

//! Smoke tests that exercise the three output formats on one representative
//! read-only command. We don't sweep every command across every format - that
//! would 3x the suite - but we want a tripwire that catches a broken
//! rendering path in any of the three modes.
use crate::harness;
#[test]
#[ignore]
fn alerts_list_text() {
if harness::require_creds("alerts_list_text").is_none() {
return;
}
harness::run_ok_nonempty(&["alerts", "list", "-o", "text"]);
}
#[test]
#[ignore]
fn alerts_list_json() {
if harness::require_creds("alerts_list_json").is_none() {
return;
}
harness::run_ok_json(&["alerts", "list", "-o", "json"]);
}
#[test]
#[ignore]
fn alerts_list_agents() {
if harness::require_creds("alerts_list_agents").is_none() {
return;
}
harness::run_ok_nonempty(&["alerts", "list", "-o", "toon"]);
}