#Logging in rust tests
7 messages · Page 1 of 1 (latest)
Is this on Windows with release builds?
cargo test should have debug symbols so the terminal should still be attached.
`#[cfg(test)]
mod tests {
#![allow(unused)]
use super::*;
use anyhow::Result;
use log::{debug, info};
use serde_json::json;
use test_log::test;
#[tokio::test]
async fn test_name() -> Result<()> {
info!("hello");
Ok(())
}
}`
on ubuntu via wsl2
Since im still new to rust, i'm not sure if this is even tauri related.