chores: better tests for urban dictionary and mojang wrappers and nukes dead mojang apis #80
No reviewers
Labels
No labels
Ad hoc
Blocked
Bug
Improvement
New Feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SethFalco/elypiai!80
Loading…
Reference in a new issue
No description provided.
Delete branch "improve-qa"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I originally wrote Elypiai (5+ years ago), I was too fixated on #CleanCode that I didn't stop to think if certain practices I'd learned actually made sense in the context of the project.
One such daft decision I made was manually committing and testing against snapshots of the API instead of the live API. In this project, it literally makes no sense to test against snapshots, we want to find out as soon as possible if there are problems with a service wrapper, and the best way to do that is through a real API call.
We'll move towards writing tests that have looser assertions, will verify that:
I've also updated the Contributing Guide to contain more helpful information, and clarify our methodology for testing.
Mojang APIs
Worth noting that we wrapped various Mojang APIs across multiple domains. The Authentication server has been taken down though as Minecraft now only supports Microsoft authentication. The server for the server status had been unreliable since I first wrapped it, and has since been taken down too.
As these are no longer relevant, I've just deleted code for dead endpoints, outdated parameters, or removed servers, etc.
changed title from chores: better tests for urban dictionary and mojang wrappers to chores: better tests for urban dictionary and mojang wrappers{+ and nukes dead mojang apis+}
changed the description
mentioned in commit
8f1037cb3dchanged the description