Replies: 1 comment 3 replies
-
|
I actually think the docs you linked are wrong. I'll need to fix that. I think CombinedDataSources might be able to solve this for you? https://tunit.dev/docs/test-authoring/combined-data-source-summary/ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hej,
I am currently experimenting with TUnit and how to best solve the following:
There is an unary data source that yields different results based on certain runtime parameters. This should be used to build the Cartesian product with the final set of arguments for all other parameters. This is very similar to your nested data sources, except for the fact that the first parameter is not a singular value.
Here a bit pseudo code to help get my point across:
So it seems trivial to implement the
WhatEverToLoadSomeConfigsAndBuildTheCartesianProductWithTheOthersattribute to provide the unary data source, which can then also be used withMatrixand theCombined..version to generate Cartesian product over all parameters, but what about the middle ground, when I want to treat certain parameters as tuples to form the product with?Beta Was this translation helpful? Give feedback.
All reactions