murex
murex copied to clipboard
tests for httpclient are a little lackluster
I really should be testing the return types as well as just testing the process executes
Also the tests should set up a HTTP server on a random port so unit tests are not dependant on a working internet connection
A custom test server has been written which starts on port 38000 and then uses atomic operations to cycle through each port number afterwards to avoid concurrency issues.
Still wouldn't hurt to throw in a few more tests though...