Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better testing story for Nexus Operations #1491

Open
2 tasks
bergundy opened this issue May 24, 2024 · 0 comments
Open
2 tasks

Better testing story for Nexus Operations #1491

bergundy opened this issue May 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bergundy
Copy link
Member

Currently the test environment support workflow run operations, sync operations get a client that panics for any method call.

To improve the testing story for Nexus, we'll want:

  • Add a TestNexusEnvironment for users to test their operations outside of workflow context
    There are details to be ironed out here, e.g. how are sync operations going to work since they reference a Client.
  • Add an OnNexusOperation method to the workflow test environment to integrate with current mocking and time skipping approach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant