-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow separation of 'tests' vs. 'scenarios' #73
Comments
Picking this one up soon - thinking about ways to clean up:
|
Appreciate it! Striving to achieve a cleaner config with a lot of tests has been the most challenging aspect so far. We used I definitely like the idea of being able to run multiple |
Closing this as complete! Scenarios are documented here: https://promptfoo.dev/docs/configuration/scenarios |
Another feature that we think would be desirable is the ability to run a provided number of tests against 'test cases' or 'test data'.
For example, there may be the following definition:
This means there are two tests that will be run. In our case, there could be 5-10 'scenarios' we would like to run, both with a somewhat different input and different expected output.
Rough idea of what a config with 'scenarios' could look like:
This would result in a total of 6 tests being run: 3 scenarios, 2 tests, 1 provider, 1 prompt.
We also would love to be able to import variables from text files so the yaml test configuration can be cleaner.
Interested in thoughts on this one, and I can help out where needed.
The text was updated successfully, but these errors were encountered: