Skip to content

Code samples for testing and mocking Nexus#771

Open
Evanthx wants to merge 7 commits intomainfrom
nexus-testing
Open

Code samples for testing and mocking Nexus#771
Evanthx wants to merge 7 commits intomainfrom
nexus-testing

Conversation

@Evanthx
Copy link
Copy Markdown

@Evanthx Evanthx commented Mar 18, 2026

Samples have been added for Nexus testing and demonstrating how to mock a Nexus workflow.
As part of this. the "Echo" workflow was moved from a lambda to a class to enable it to be mocked as well.

@Evanthx Evanthx requested review from a team, antmendoza and tsurdilo as code owners March 18, 2026 23:00
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 18, 2026

CLA assistant check
All committers have signed the CLA.

// and registering a EchoCallerWorkflowImpl worker.
//
// It is much simpler to use the setWorkflowTypes in the rule definition above - and as
// this isn't easily do-able in JUnit5 (the nexus endpoint isn't exposed) should be
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an SDK issue?

@Evanthx Evanthx self-assigned this Mar 24, 2026
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.

3 participants