Skip to content

APIGOV-32698 Engage CLI - Add Unit Testing#289

Merged
kasuvy merged 21 commits into
engage-5.0from
APIGOV-32698
Jun 4, 2026
Merged

APIGOV-32698 Engage CLI - Add Unit Testing#289
kasuvy merged 21 commits into
engage-5.0from
APIGOV-32698

Conversation

@kasuvy
Copy link
Copy Markdown
Contributor

@kasuvy kasuvy commented May 27, 2026

Regenerated unit tests for the engage related commands. We have rewrite the tests as the old tests were using "sinon" as the stubbing library which now doesn't support ESM. The new test suite uses "testdouble.js" library for stubbing various modules.

https://www.npmjs.com/package/testdouble

Also, the new engage units tests are aligned with the other Axway CLI tests that spawns a test server to run the tests. It uses mushtache templates to make various test assertions for all the commands.

@kasuvy
Copy link
Copy Markdown
Contributor Author

kasuvy commented Jun 4, 2026

Merging this as the Engage Unit Tests suite is passing. Will include this in the review that has been open for the whole refactoring - #288

@kasuvy kasuvy merged commit 83808e6 into engage-5.0 Jun 4, 2026
2 of 14 checks passed
@kasuvy kasuvy deleted the APIGOV-32698 branch June 4, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant