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

Don't use real Jira API responses in tests #230

Open
aik099 opened this issue Jan 4, 2025 · 0 comments
Open

Don't use real Jira API responses in tests #230

aik099 opened this issue Jan 4, 2025 · 0 comments
Milestone

Comments

@aik099
Copy link
Member

aik099 commented Jan 4, 2025

Currently, we mock Jira API communication in tests and provide working Jira API responses back. In most cases, this doesn't make sense to do, because we're just returning the json-decoded version of whatever Jira API returns.

Unless after an API call is made we're parsing the response and doing something extra (e.g. Api::getPriorities), then using real Jira API response in the test suite makes no sense.

@aik099 aik099 modified the milestones: v2.0.1, v2.0.0 Jan 4, 2025
@aik099 aik099 modified the milestones: v2.0.0, v3.0.0 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant