Skip to content

rust integration test, how to get AppHandle #7456

Answered by FabianLars
dassio asked this question in Q&A
Discussion options

You must be logged in to vote

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())

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dassio
Comment options

Answer selected by dassio
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants