Breadcrumbs

UnitTest Generate Command

Purpose

Generates a MettleCI Unit Test for one or more specified DataStage Jobs.

The optional -check-row-count-only flag will cause the generation of unit tests which check row counts, rather than the default option which is to compare data row-by-row.

Syntax

unittest-generate-20250826-042909.svg




Example

Bash
$> mettleci unittest generate \
   -assets /opt/dm/mci/jobs \
   -joblist ./joblist.txt \
   -specs /opt/dm/mci/testspecs