rust integration test, how to get AppHandle #7456
-
I want to test the Commands implementation in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I've never really looked into the test module myself yet but i think the idea is to either use https://docs.rs/tauri/latest/tauri/test/fn.assert_ipc_response.html or https://docs.rs/tauri/latest/tauri/test/fn.mock_app.html (plus |
Beta Was this translation helpful? Give feedback.
-
as answered in discord by Lucs , I should use |
Beta Was this translation helpful? Give feedback.
I've never really looked into the test module myself yet but i think the idea is to either use https://docs.rs/tauri/latest/tauri/test/fn.assert_ipc_response.html or https://docs.rs/tauri/latest/tauri/test/fn.mock_app.html (plus
app.handle()
)