Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(tests): add run instructions to ignored test attributes

Steven Enamakeldcb76b220ab3
diff --git a/crates/openhuman-app/src/imessage_scanner/imessage_scanner_tests.rs b/crates/openhuman-app/src/imessage_scanner/imessage_scanner_tests.rs
index 62aa00b17d..d884753898 100644
--- a/crates/openhuman-app/src/imessage_scanner/imessage_scanner_tests.rs
+++ b/crates/openhuman-app/src/imessage_scanner/imessage_scanner_tests.rs
@@ -164,7 +164,7 @@ fn format_transcript_renders_known_messages() {
/// to the test-runner binary. Asserts we can open chat.db read-only,
/// run our JOIN query, and deserialize at least one row.
#[test]
-#[ignore]
+#[ignore = "reads the operator's real macOS ~/Library/Messages/chat.db (needs Full Disk Access); run: cargo test --manifest-path crates/openhuman-app/Cargo.toml imessage_scanner -- --ignored"]
fn real_chat_db_opens_and_returns_messages() {
let path = match chat_db_path() {
Some(p) => p,
@@ -194,7 +194,7 @@ fn real_chat_db_opens_and_returns_messages() {
/// Sanity: `read_since` with cursor past max rowid returns empty.
#[test]
-#[ignore]
+#[ignore = "reads the operator's real macOS ~/Library/Messages/chat.db (needs Full Disk Access); run: cargo test --manifest-path crates/openhuman-app/Cargo.toml imessage_scanner -- --ignored"]
fn real_chat_db_empty_past_cursor() {
let path = match chat_db_path() {
Some(p) => p,
diff --git a/crates/openhuman-app/src/imessage_scanner/tick_tests.rs b/crates/openhuman-app/src/imessage_scanner/tick_tests.rs
index 353b828092..013ee7f2f9 100644
--- a/crates/openhuman-app/src/imessage_scanner/tick_tests.rs
+++ b/crates/openhuman-app/src/imessage_scanner/tick_tests.rs
@@ -66,7 +66,7 @@ async fn skips_when_gate_disconnected() {
}
#[tokio::test]
-#[ignore]
+#[ignore = "reads the operator's real macOS ~/Library/Messages/chat.db (needs Full Disk Access); run: cargo test --manifest-path crates/openhuman-app/Cargo.toml imessage_scanner::tick_tests -- --ignored"]
async fn run_single_tick_ingests_groups_from_real_chatdb() {
let Some(db) = chat_db() else {
eprintln!("chat.db not available — skipping");
@@ -100,7 +100,7 @@ async fn run_single_tick_ingests_groups_from_real_chatdb() {
}
#[tokio::test]
-#[ignore]
+#[ignore = "reads the operator's real macOS ~/Library/Messages/chat.db (needs Full Disk Access); run: cargo test --manifest-path crates/openhuman-app/Cargo.toml imessage_scanner::tick_tests -- --ignored"]
async fn run_single_tick_keeps_cursor_on_group_failure() {
let Some(db) = chat_db() else {
return;
diff --git a/tests/computer_bali_live_e2e.rs b/tests/computer_bali_live_e2e.rs
index b86b234c1d..3628f365de 100644
--- a/tests/computer_bali_live_e2e.rs
+++ b/tests/computer_bali_live_e2e.rs
@@ -111,7 +111,7 @@ fn summarize(view: &TaskView) -> String {
}
#[tokio::test(flavor = "multi_thread")]
-#[ignore] // live: downloads the module, launches Chrome, and calls OpenRouter
+#[ignore = "live: downloads the tinycomputer module, launches Chrome and calls OpenRouter; needs OPENROUTER_API_KEY. Run: cargo test -p openhuman-cli --test computer_bali_live_e2e -- --ignored --nocapture"]
async fn books_a_bali_flight_up_to_the_payment_page() {
if std::env::var("OPENROUTER_API_KEY").map_or(true, |key| key.trim().is_empty()) {
eprintln!("skipping: OPENROUTER_API_KEY is not set");
diff --git a/tests/x402_twit_sh_live.rs b/tests/x402_twit_sh_live.rs
index 647a080e40..049fd133ff 100644
--- a/tests/x402_twit_sh_live.rs
+++ b/tests/x402_twit_sh_live.rs
@@ -8,7 +8,7 @@ use serde_json::json;
use tinytools::Tool;
#[tokio::test]
-#[ignore] // requires funded wallet + network access
+#[ignore = "live: makes a real x402 payment to twit.sh on Base; needs a funded wallet and network. Run: GGML_NATIVE=OFF cargo test -p openhuman-cli --test x402_twit_sh_live -- --ignored --nocapture"]
async fn x402_pay_twit_sh_for_hal_finney_tweet() {
env_logger::init();