travel-zoo.embedded.specs
create-temp-dir
(create-temp-dir)
make-instance-specifications
(make-instance-specifications instance-quantity)
(make-instance-specifications instance-quantity reset-server-ids?)
Creates n-instance specifications, optionally resetting server-ids
new-instance-spec
(new-instance-spec m)
Factory function to creates an instance of an InstanceSpec used with TestingServer.
next-server-id
(next-server-id)
(next-server-id reset-server-id?)
Creates an atomic server id for testing.
The ids may be optionally reset by specifing true for reset-server-id?
prefab-instance-spec
(prefab-instance-spec)
(prefab-instance-spec reset-server-id?)
Creates an instance specification with more predictable values up-front.
Useful for any comparisons of an instance specification before/after a test.
random-port
(random-port)