Azure-Samples / chat-with-your-data-solution-accelerator

A Solution Accelerator for the RAG pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences. This includes most common requirements and best practices.
https://azure.microsoft.com/products/search
MIT License
528 stars 274 forks source link

Make it easy to run functional tests with multiple combinations of configurations. #801

Open superhindupur opened 2 weeks ago

superhindupur commented 2 weeks ago

Motivation

Currently, the functional tests spin up a new instance of the mock frontend API service for each combination of app configuration.

For e.g., we have one group of tests running for SHOULD_USE_DATA= true and another for false.

With the addition of functional tests for Semantic Kernel in #800, it became apparent that there are multiple combinations of app configs that we want to test, and the current method of spinning up a new mock server instance will not scale. Making it easy to write functional tests for multiple combinations of configs will encourage developers to write more of them, ultimately increasing the stability of CWYD.

One way of solving this problem would be to:

How would you feel if this feature request was implemented?

everything

Requirements

A list of requirements to consider this feature delivered

Tasks

To be filled in by the engineer picking up the issue