Skip to main content

Varicent ELT Help Center

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.

Using the auto-generate unit tests feature
  1. Go to the Pipes module, and open the pipe that you want to create the unit test for.

  2. Click the test mode UnitTestIcon.png 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.

  3. In Calculation workbench, click the Test mode UnitTestIcon.png icon.

    Note

    To activate test mode, you need at least one Calculation output tool available in your calculation.

  4. Click the Auto-generate tests AutoGenerateTestsicon.png icon.

  5. 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.

  6. For the Advanced auto-generate tests option, the Configure auto-generated tests window appears with the following custom options: