Teztale.Server
type conf = {
name : string;
interface : interface;
users : user list;
admin : user;
public_directory : string option;
}
See parameters of run
function for details.
Expose paths of the files involved in the test:
val run :
?runner:Tezt_wrapper.Runner.t ->
?path:string ->
?name:string ->
?address:string ->
?port:int ->
?users:user list ->
?admin:user ->
?public_directory:string ->
unit ->
t Lwt.t
run ?runner ?path ?name ?address ?port ?users ?admin ?public_directory ()
Spawn a teztale server with some given parameters:
127.0.0.1
)address
add_user
function.admin:password
val wait_for_readiness : t -> unit Lwt.t
Wait until teztale server is listening to its defined interface