Skip to content

How to create multiple applications in single test run #5688

Answered by maxkatz6
IngvarX asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think it possible to have multiple app instances in one process, since avalonia uses static services locator and dispatcher.

Also it might not be possible on some platforms to run multiple UI threads at all (see: macos), but this specific problem can be solved with Headless platform, starting tests without any UI and rendering, but with all visual elements and ability to raise input events.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
10 replies
@IngvarX
Comment options

@maxkatz6
Comment options

@IngvarX
Comment options

@IngvarX
Comment options

@IngvarX
Comment options

Answer selected by IngvarX
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants