Looking for some @rustlang help.
How can I spin up a bunch of web servers (e.g. an actix-web app) at the beginning of a test, run the test logic and then shut down the server when the test ends?
-
Show this thread
-
Replying to @algo_luca @rustlang
Have you looked at Mockitio? https://github.com/lipanski/mockito … I used it for some testing http endpoints, I think it might help you here?
1 reply 0 retweets 1 like -
Ah I didn’t see the rest of the thread, not sure it will help?
1 reply 0 retweets 0 likes
Replying to @degausser42 @rustlang
Mockito has two big limitations: - you can only mock one 3rd party API; - it forces all your test to run sequentially. I could live with the second, but not the first :/
7:54 AM - 9 Apr 2020
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Writing about stuff to learn how it works, mostly in Rust.
Lead Engineer at