Replies: 1 comment 6 replies
-
@ReubenBond should we set a first class flag for when the application has been booted with the cc @mitchdenny |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an application that uses PostgreSQL.
When I am developing it locally, I use
WithDataVolume
to store data between sessions.In the integration tests, however, I need to start with an empty volume each time to ensure test isolation.
Right now I am using the console app arguments to pass a special flag:
Integration Test:
AppHost/Program.cs:
This approach works, but feels like a dirty hack to me, which may have downsides or consequences of which I am not aware.
Is there a proper way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions