Test4z "Getting Started" Tutorial

Sdílet
Vložit
  • čas přidán 4. 07. 2024
  • Test4z challenges the notion that high-quality testing for COBOL is inherently time-consuming by offering a solution that accelerates the development process. In this video, developer advocate Dan Kehn walks you through a tutorial on how to use Test4z to create an automated, repeatable unit test.
    Here's the top-level steps:
    1. Write/verify unit test using the recording (mock API)
    2. Add validation logic to the unit test (spy API)
    3. Add pass/fail checks to the unit test (assert API)
    4. Run the final test (optionally make it fail).
    If you want to do the exercise yourself with Test4z, you can download the example code and detailed step-by-step instructions from this Github repository:
    github.com/workshopdemos/Broa...
  • Věda a technologie

Komentáře •