Page Properties |
---|
|
Namespace | unittest |
---|
Command | migrate |
---|
Plugin Name | unittest |
---|
Plugin File | dm-dstest-plugin.jar |
---|
Credentials | IS/DS |
---|
Windows Client | - |
---|
|
Purpose
Generates Converts 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-rowspecification and data from one compatible with Classic DataStage Jobs to one compatible with Cloud Pak for Data NextGen DataStage Flows.
Syntax
Include Page |
---|
| unittest migrate command syntax |
---|
| unittest migrate command syntax |
---|
|
...
Code Block |
---|
|
$> mettleci unittest generatemigrate \
-specs unittest \
-assetsurl https:/opt/dm/mci/jobs \
-joblist ./joblist.txt \
-specs /opt/dm/mci/testspecs/cpd-dm.apps.prod1.dm-cpd.mettleci.cloud \
-user admin \
-api-key **** \
-project RegressionTest_ci \
-test-data-archive TestData.zip \
MettleCI Command Line (build 220)
(C) 2018-2022 Data Migrators Pty Ltd
unittest migrate (v1.0-536)
Loading Unit Tests from 'unittest'
Converting Test Spec TR_ORDERS
* Converting Test Data dsEX_Orders-inOrders.csv
* Converting Test Data odbcCity-City.csv
* Converting Test Data odbcCustomer-Customer.csv
* Converting Test Data odbcStockItem-StockItem.csv
* Converting Test Data odbcSalesperson-Salesperson.csv
* Converting Test Data odbcPicker-Picker.csv
* Converting Test Data dsTR_Orders-outOrders.csv
Uploading converted Spec
Test Case 'TR_ORDERS' already exists, skipping |