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

Testing: Create separate tests for enrollUser and finishUserEnrollment #170

Open
1 task done
pauljohanneskraft opened this issue Oct 30, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@pauljohanneskraft
Copy link
Collaborator

Problem

Currently, we are assuming the triggers all work correctly and only check the result once enrollUser and finishUserEnrollment have both been called.

Solution

Test the two functions separately expecting a certain result. Possibly even checking the runtime duration of enrollUser to stay below a certain threshold (e.g. 3-5 seconds).

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
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
Status: No status
Development

No branches or pull requests

1 participant