Skip to main content

๐Ÿ—๏ธ ETL Test Cases

An ETL Test Case is used to validate the logic of your Extract, Transform, Load (ETL) processes.
These tests are typically executed in lower environments (e.g., QA, UAT) that replicate production with masked or synthetic data.

You should run ETL test cases whenever you:

  • Introduce new features
  • Modify existing ETL logic
  • Perform release validations

Think of ETL tests as unit tests for data.
They are usually grouped into test suites and scheduled as part of the release cycle to proactively detect regressions or bugs before they reach production.

๐Ÿง  Early testing in non-production environments helps catch data issues and ETL bugs early โ€” preventing costly incidents in production.

ETL Test Case Summary


๐Ÿ” Test Case Screen Featuresโ€‹

The test case screen allows you to:

  • Filter test cases by:
    • Name
    • ID
    • Test Type
    • Test Approach
    • Status
    • GIT Repository parameters (for custom tests)
  • Select and execute one or more test cases by clicking the โ–ถ๏ธ Run button
  • ๐Ÿ“ฅ Download or ๐Ÿ“ค Upload test cases using Excel files

Test Case Filters


๐Ÿ”Ž Test Case Details Viewโ€‹

Clicking the expand (+) button next to a test case allows you to view:

  • ๐Ÿ“‹ Test Case Metadata
  • ๐Ÿงฉ Test Steps
  • ๐Ÿงช Assigned Keywords

Expanded Test Case


๐Ÿ†• Creating a New ETL Test Caseโ€‹

Click the โž• New button to open the test case creation screen.

New Test Case Form

Here, you will:

  • Provide a test case name
  • Link it with:
    • One or more Test Suites
    • Relevant Test Approaches
    • Associated Requirements
  • Select the database connection where the test will run
  • Add descriptive tags for better organization and future filtering

๐Ÿงฉ Defining Keywords (Test Conditions)โ€‹

Each test case is built using modular blocks called Keywords (inspired by Robot Framework naming).
These represent test pass conditions and allow flexible configuration.

๐Ÿ“š Read more about this in the Keywords documentation

Keywords

You can:

  • Provide a query (e.g., to get row counts or specific data sets)
  • Choose to:
    • Require exact result matching
    • Continue or stop execution based on previous keyword status

โœ… Saving & Parsing the Test Caseโ€‹

Once complete, the test case will be saved and processed.

๐ŸŽฉ Behind the scenes, X-AutoMate's SQL parser will automatically:

  • Extract rules from your query
  • Connect them with the target database metadata

โœ๏ธ Additional Actionsโ€‹

You can also:

  • ๐Ÿ“ Edit the test case
  • ๐Ÿ—‘๏ธ Delete the test case
  • ๐Ÿ”— Go to External System โ€” If linked with a requirement, this takes you to the corresponding entry in your backlog management tool
  • Create as new

    new_one