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

Add a TestFactory for artemis api endpoints to easily know which endpoints have been renamed #127

Open
Luro02 opened this issue Sep 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Luro02
Copy link
Collaborator

Luro02 commented Sep 29, 2024

Artemis frequently decides to rename/do minor changes to endpoints. The tests do not cover every endpoint, and some use multiple, so it is a bit of work to figure out what broke after an update.

This could be automated by having a basic test that checks if an endpoint still exists. Ideally, we could send a request to an endpoint (without params/requests body) and check if it returns a 404 (not found), but this might not be possible, depending on how artemis behaves.

The endpoints themselves, could be extracted either through reflection or by using spoon to parse the source code for invocations of ArtemisRequest.XY() (this will likely work for most if not all endpoints).

@Luro02 Luro02 added the enhancement New feature or request label Sep 29, 2024
@dfuchss dfuchss moved this from Triage to High Priority in Artemis & Programming Oct 11, 2024
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: High Priority
Development

No branches or pull requests

1 participant