labrinth icon indicating copy to clipboard operation
labrinth copied to clipboard

Improve Testing

Open Aeledfyr opened this issue 4 years ago • 1 comments

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?

Aeledfyr avatar Jul 27 '20 16:07 Aeledfyr

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.

Geometrically avatar Jul 27 '20 18:07 Geometrically

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

triphora avatar Nov 12 '23 02:11 triphora