AI test generation in QF-Test is entirely based on the test description you provide — the more context you supply, the better the results.
The prompt sent to the AI agent consists of two parts: a base prompt (defined in the library test suite
qfs-ai.qft, overridable in your own test suite such as user-ai.qft) and your test description. This description can be as detailed as you like.
You can include tickets and test plans, acceptance criteria, business rules, or references to existing tests in the prompt. As with any AI application, there is no guarantee that all details will be fully taken into account — the more precise and complete your description, the better the result.
Note that overloading the model’s context window can lead to worse results. Keep your descriptions detailed, but focused.