How to write tests for Rust apps

Reading

https://doc.rust-lang.org/book/ch11-01-writing-tests.html https://doc.rust-lang.org/rust-by-example/testing/integration_testing.html

https://github.com/tauri-apps/tauri/discussions/3768