Skip to content

APIGOV-32698 Engage CLI - Add Unit Testing#289

Open
kasuvy wants to merge 17 commits into
engage-5.0from
APIGOV-32698
Open

APIGOV-32698 Engage CLI - Add Unit Testing#289
kasuvy wants to merge 17 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.

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