Skip to content

Commit 5fda118

Browse files
haargoalders
authored andcommitted
create TestServer test lib for running daemon process
Create a TestServer test library that serves as both a subclassable server and a lib for running that server. Having one class for both the internals of the server and the external interface to start it is a bit ugly, but makes extending it and using it a bit easier. And it's only a test library so it seems a reasonable compromise. This will run the server as a sub process rather than using forking, so it is more portable. Convert the tests to use this library rather than each having their own routines for running for forking the daemon.
1 parent aae5bc2 commit 5fda118

File tree

7 files changed

+491
-555
lines changed

7 files changed

+491
-555
lines changed

dist.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ IO::Socket::IP = 0.32
3333
LWP::MediaTypes = 6
3434

3535
[Prereqs/DevelopRequires]
36-
LWP::Protocol::https = 6.07
36+
LWP::UserAgent = 6.07

0 commit comments

Comments
 (0)