Generate Tests¶
Generate tests to automatically populate a test suite based on the latest profiling results for a table group. The system selects relevant test types, sets thresholds, and configures parameters based on the data types, patterns, and characteristics discovered in your columns.
Tip
Best practice is to regenerate tests every few weeks or when your data has evolved, so that test criteria stay aligned with current data characteristics.
Prerequisites¶
A test suite is required to generate tests. Use an existing test suite or create a new one from the Test Suites page.
How to¶
- Select Test Suites from the menu.
-
On the test suite that you would like to generate tests for, click Generate Tests.
-
In the dialog, click Generate Tests.
Tip
Alternatively, if you'd like to run test generation from the command line, click Show CLI command in the dialog and copy the command.
-
When the confirmation message appears, click X to close the dialog.
Next steps¶
Once the test suite is populated, review the results on the Test Definitions page. From there you can fine-tune thresholds, add manual tests the system cannot auto-generate, and lock any tests you want to preserve across future regenerations.
When you're ready, continue with Run Tests to execute the tests.
Test lock mechanism¶
When you regenerate tests:
- Unlocked auto-generated tests are refreshed — tests may be added or removed, and parameters like expected patterns, value ranges, and thresholds may change to reflect current data.
- Locked auto-generated tests are preserved exactly as configured.
- Manually created tests (including custom tests) are never affected by regeneration.
Lock a test when you have manually tuned its parameters and want to preserve your changes across regenerations. To lock or unlock a test, navigate to the Test Definitions page and toggle the lock status.
TestGen can generate up to 48 different test types. See TestGen Test Types for the complete list and descriptions.