murex icon indicating copy to clipboard operation
murex copied to clipboard

tests for httpclient are a little lackluster

Open lmorg opened this issue 6 years ago • 2 comments

I really should be testing the return types as well as just testing the process executes

lmorg avatar Jan 17 '19 22:01 lmorg

Also the tests should set up a HTTP server on a random port so unit tests are not dependant on a working internet connection

lmorg avatar Jul 19 '19 13:07 lmorg

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...

lmorg avatar Sep 15 '19 21:09 lmorg