Auto-generate unit tests
If you have the ELT Assistant add-on, you can use the Auto-generate tests feature to create unit tests.
Important
Auto-generating unit tests only works with the ELT Assistant subscription add-on.
You can also opt to customize the test results with the advanced feature:
Share data with AI for realistic results: Use sample data to make your tests more realistic and effective at uncovering issues. When you enable this option, the application sends a data subset to the AI as an example.
Use custom test instructions: Provide custom instructions or sample data for the AI. The AI will follow these instructions instead of the default guidelines when generating unit tests.
Go to the Pipes module, and open the pipe that you want to create the unit test for.
Click the test mode
icon, located in the upper-right corner of the pipe canvas.
Note
To activate test mode, you need at least one Export tool available in the pipe.
In Calculation workbench, click the Test mode
icon.
Note
To activate test mode, you need at least one Calculation output tool available in your calculation.
Click the Auto-generate tests
icon.
Click the option you want to use:
Auto-generate tests: This option automatically generates testing using the default test settings.
Advanced auto-generate tests: This option automatically generates tests using custom configured settings.
For the Advanced auto-generate tests option, the Configure auto-generated tests window appears with the following custom options:
Delete all auto-generated tests before generating new ones.