I need to test some HTTP components in my Delphi application. I am using DUnit and want to add some automation to the testing.
So, my test code needs to start a local HTTP server, configure it (for example, prepare for disconnection in 3 seconds or simulate low bandwidth or request a username / password, etc.), run my unit tests and close the HTTP server .
Are there some HTTP servers for Delphi / DUnit?
I know that the Mozilla team has such a server , but it is not too easy to integrate it into DUnit.
source share