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

Approval Testing #378

Merged
merged 6 commits into from
Nov 8, 2023
Merged

Approval Testing #378

merged 6 commits into from
Nov 8, 2023

Conversation

Sturlen
Copy link
Contributor

@Sturlen Sturlen commented Nov 7, 2023

Replace old unit tests with approval tests for the public API. Currently tests all endpoints to make sure the structure does not change unless approved. This means you can confidently refactor code and make sure there are no unintended changes to the user experience. These test will be run in a workflow on all PRs.

This is only a starting point which can be expanded upon later to make it more comprehensive.

@Sturlen
Copy link
Contributor Author

Sturlen commented Nov 7, 2023

Found some inconsistencies in my local version and github actions running the tests. tests should be rerun now.

@augustjohnson augustjohnson self-requested a review November 8, 2023 17:45
@augustjohnson augustjohnson merged commit a989644 into open5e:staging Nov 8, 2023
@Sturlen Sturlen deleted the approval_testing branch November 8, 2023 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants