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

Improve Testing #2823

Closed
Aeledfyr opened this issue Jul 27, 2020 · 2 comments
Closed

Improve Testing #2823

Aeledfyr opened this issue Jul 27, 2020 · 2 comments
Labels
backend Relates to Modrinth Backend or API

Comments

@Aeledfyr
Copy link
Contributor

We need to set up more tests to make sure each part of the system functions properly. We currently only have a few tests, so we should work on improving that.

Does actix-web have a good way of making a mock http request to a specific route? Or should we just run the full server and then have a separate runner that sends requests to the specific routes?

@Geometrically
Copy link
Member

We can look into implementing this. We shouldn't have to have the whole server running. https://actix.rs/docs/testing/ Actix seems to have a framework for this.

@triphora
Copy link
Contributor

We can consider this completed as of modrinth/labrinth#719, modrinth/labrinth#729, modrinth/labrinth#731, modrinth/labrinth#754

@Prospector Prospector transferred this issue from modrinth/labrinth Oct 19, 2024
@Prospector Prospector added the backend Relates to Modrinth Backend or API label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Relates to Modrinth Backend or API
Development

No branches or pull requests

4 participants