You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on implementing functional tests in big eShop, the requirement to run service dependencies under test came up. For example, functional tests for the Catalog API require that a Postgres database is instantiated.
In Aspire. we currently achieve this by implementing a test fixture that launches an Aspire app host with a Postgres resource and passing the connection string of the instantiated database resource to the service's host.
While this strategy works, there's a few noticeable drawbacks:
We need to configure an entire app host when in reality we want to launch a collection of resources independent of it, a model similar to test containers.
How should we think about providing an integration testing experience for developers building Aspire-orchestrated services?
The text was updated successfully, but these errors were encountered:
Is the last remaining pickle. In the Aspire 💚 Testing chat, we discussed a possible solution to this which is adding a new DistributedApplicationOptions.AssemblyName options to support overriding how the DCP lookup happens.
This should be resolved by the new AssemblyName option and temp path changes. Please re-open if there are further issues that are still blocking test scenarios.
While working on implementing functional tests in big eShop, the requirement to run service dependencies under test came up. For example, functional tests for the Catalog API require that a Postgres database is instantiated.
In Aspire. we currently achieve this by implementing a test fixture that launches an Aspire app host with a Postgres resource and passing the connection string of the instantiated database resource to the service's host.
While this strategy works, there's a few noticeable drawbacks:
How should we think about providing an integration testing experience for developers building Aspire-orchestrated services?
The text was updated successfully, but these errors were encountered: