Start today

← Documentation

Regression Tests

Regression Tests

Regression Tests (in the navigation bar) works out what a legacy operation does and turns it into test cases, so a modernized version can later be checked against the same answers. It is for z/OS COBOL programs and is not offered on IBM i workspaces.

Open it from the navigation bar, or right-click a program in the App Viewer and choose Regression Tests. When exactly one operation starts at that program it opens straight away; otherwise the list of operations shows.

Steps

  1. Discover: pick an operation and press Discover (or Discover with AI). AtomIQ reads the source, finds every result the program can produce and the ways into each, and runs it off the mainframe to confirm them. The Data tab shows the tables the operation reads; Load live rows reads them from DB2.
  2. Test cases: New test case, then Generate automatically builds one case per way in with the request filled in, or Create manually lets you write one. A case can state its expected answer up front, as the JSON the call returns.
  3. Sandbox: Open in sandbox on a case runs it off the mainframe against rows you can edit, so you can see which branch a request takes without calling CICS.
  4. Field rules: on a case's expected outcome, choose how each field is judged: compared exactly, ignored, or held to a rule such as "must be a number" for a value that changes every run.

Not available yet

Run on mainframe, regression suites, and exporting a regression spec need a live connector to the mainframe, which AtomIQ cannot set up yet. Run on mainframe is disabled and says so, and the regression suite set-up says there is nothing to run the suite against. A spec is exported from a recorded suite, so there is none to export. Everything above works without a connector.

Admin passkey

When the server is configured with an admin passkey, Load live rows, suggested inputs from live data, and opening the sandbox read the customer's database and ask for the passkey. Enter it in Settings.

Discover what a legacy operation does, turn it into test cases, and try them in an off-host sandbox.

Read more