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

Regression/e2e tests for HTTP API #273

Open
mitjat opened this issue Jan 5, 2023 · 0 comments
Open

Regression/e2e tests for HTTP API #273

mitjat opened this issue Jan 5, 2023 · 0 comments
Labels
p2 testing Reliability testing.

Comments

@mitjat
Copy link
Collaborator

mitjat commented Jan 5, 2023

We have no (?) tests for the HTTP API, see e.g. #272

At a very minimum, we should add a simple script that curls some hand-picked URLs.

Even better would be to implement contract testing with an automated tool; we used dredd in parcel and it worked nicely.

Almost independent of that: We could have regression tests for a hand-picked set of URLs, where a script fails whenever those URLs' responses change. This is a nice tool for observing changes, but a little awkward because it requires a DB frozen at a chosen height. Probably not worth it.

Whatever we choose should be integrated into CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 testing Reliability testing.
Projects
None yet
Development

No branches or pull requests

1 participant