create_test_generation_session
If a TestSession has completed and some of the generated Tests had incorrect outcomes, you can tell Distributional that these tests should have had different results.
Only applies to Tests generated by Distributional, not custom Tests
Parameters
run
The Run to use when generating tests.
columns
Either a list of column names or a list of dictionaries with only 1 key, "name". These names must refer to the columns in the Run that dbnl will use to generate Tests. If None
, then all columns in the Run will be used.
Returns
TestGenerationSession
The TestGenerationSession object that was created. The status
can be checked to determine when test generation is complete.
Examples
The following 2 examples are equivalent:
To generate tests for all columns, leave columns
out:
Was this helpful?