A simple HTTP server, built in Java.
Clone the repo, cd
into it, gradle build
, java -jar build/libs/httpServer.jar
.
Supports -p
and -d
options for port and directory, respectively. E.g. java -jar build/libs/httpServer.jar -p 5678 -d /test_dir
. Defaults to 5000
and /public
.
To run the unit tests, gradle test
.
To run acceptance tests, clone cob spec, point it at this server and public directory, and run the suite.
This server was built with Java 1.8 and JUnit 4.