Add a TestFactory
for artemis api endpoints to easily know which endpoints have been renamed
#127
Labels
enhancement
New feature or request
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).The text was updated successfully, but these errors were encountered: