Repository navigation
Configure Class DataSource Before Session Type Run #6973
Unanswered
kieronlanning
asked this question in
Q&A
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is there a means of being able to configure a Class Data Source before it's fully initialised?
This would be especially useful for Aspire or composition based tests where certain parts of the Aspire resources could be ignored, disabled, or just configured differently.
Take the following Aspire App Host:
If I use TUnit's
AspireFixture<T>, then for a test only exercising the Db (migration on start-up for example) I can disable the use of Redis, the Key Vault emulator, Azurite, and even the Web App using something along the lines of:All reactions