zowe / zowe-install-packaging

Packaging repository for the Zowe install scripts and files
Eclipse Public License 2.0
26 stars 52 forks source link

ZWE Integration Test Framework #3844

Open MarkAckert opened 4 weeks ago

MarkAckert commented 4 weeks ago

This PR creates a new ZWE Integration Test Framework which focuses on delivering clear, easy-to-write tests for ZWE commands and uses Jest snapshots to capture and test command output. Higher fidelity tests could be written later with more intelligent analysis of zwe command output. More will be added to this description and the test README soon.

Limitations:

To be completed before merge:

Martin-Zeithaml commented 3 weeks ago

Recently the behavior of zwe init command was changed, basically useConfigmgr does not matter. There was a decision made not to rewrite zwe init certificate due to complexity of the code, in other words keep it in shell. But this would be a huge limitation to have zowe.yaml as one uss file only and without ECMAS2020 scripting. There is an internal command zwe internal config output to prepare merged config for zwe init certificate.

It does not matter now, if config is zowe.yaml or FILE(zowe.yaml):PARMLIB(TEST(ZWEYAML)), there is no message ZWEL0316E anymore.

This test (and for other commands) is kind of obsolete.