arachne.http.dsl.test

Contains DSL forms for defining a HTTP server in the configuration, with a runtime
implementation that does exactly nothing. Useful for testing and not much else.

create-dummy-server

(create-dummy-server arachne-id port)
Define a dummy Arachne server entity with the given Arachne ID and port. Return
the tempid of the new server.

dummy-server

macro

(dummy-server arachne-id port & body)
Define a dummy HTTP server in the current configuration. Evaluates the body with
the server bound as the context server. Returns the eid of the Server
component.

The dummy server looks correct from the perspective of the configuration, and is useful for
testing, but does nothing when started.