Skip to content

Add example unit test project that shares the DistributedApp Instance across all tests.#7

Open
prom3theu5 wants to merge 2 commits into
davidfowl:mainfrom
prom3theu5:main
Open

Add example unit test project that shares the DistributedApp Instance across all tests.#7
prom3theu5 wants to merge 2 commits into
davidfowl:mainfrom
prom3theu5:main

Conversation

@prom3theu5

Copy link
Copy Markdown

Internally I've had a few people ask me how to do this, and not instantiate the AppHost for every test, so showing a simple example of using a fixture collection.

… across all tests.

Internally I've had a few people ask me how to do this, and not instantiate the AppHost for every test, so showing a simple example of using a fixture collection.
Comment thread TestExample/Support/AspireAppHostFixture.cs Outdated
Also return the task from the value task directly on dispose to avoid the extra task state machine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants