Skip to main content

Varicent ELT Help Center

Create a unit test

Create a unit test to test and verify the outputs of your data.

Creating a unit test
  1. Open the that you want to create the unit test for.

  2. Click the test mode icon, UnitTest_TestMode.png located in the upper-right corner of the canvas.

    Note

    For the test mode to be activated, you must have one or more export tools available in the .

    The Unit test mode panel opens.

  3. Click the Create a test create_a_test_icon.png icon.

  4. In the Create a test modal, enter the following information.

    1. Name: Enter the name for the test.

    2. Description: Enter a description for the test.

    3. Output tool: Select the output or Export tool to test.

      Output tools in the calculation to map expected results to.

    4. Import expected results: Click to import your expected results.

  5. (Optional) In the Import expected results data modal, click to import the results that you want to test against.

    1. Drop file or click to browse: Drop a file to import or click to browse. Import any .xls, .xlsx, . csv file types.

    2. Configure import: Switch on to configure your import.

  6. Click Next.

  7. In the Configure <Data import> modal, review your import. Select which columns to import, column type, incoming date format and select if you want any data obfuscated, and complete the upload of expected results. Similarly, upload the test data for the pipe and map it to the Input data tool. The Input data tool is the data tool within the pipe.

  8. Click Save to run later, or Save and run to run now.