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
Scope
Allowing multiple tuple files gives you the option to break up your fixtures data (tuples) and reuse them across different tests. For example, you might have a set of tuples that contain all companies and another set of tuples for teams. This should make managing the test data a lot easier.
Example
tests: # required
- name: test-1# tuple_file: ./tuples.yaml # tuples that would apply per test# tuple_file: # or multiple# - ./tuples-1.yaml# - ./tuples-2.yaml
The text was updated successfully, but these errors were encountered:
Bump on this use case. I have a set of initial tuples to set up global relationships between models. I want to source the initial tuples as an external file and then supply the test tuples in the YAML.
Update - looking through the source code, I found out you can add tuple_files directly on the test. These will be merged with the tuples at the root of the test file:
Scope
Allowing multiple tuple files gives you the option to break up your fixtures data (tuples) and reuse them across different tests. For example, you might have a set of tuples that contain all companies and another set of tuples for teams. This should make managing the test data a lot easier.
Example
The text was updated successfully, but these errors were encountered: