Crate sbd_o_bahn_server_tester

Source
Expand description

Test suite for sbd server compliance.

The command supplied to the run function must:

  • Print on stdout: CMD:READY when it is ready to receive commands.
  • Listen on stdin for: CMD:START, and on receiving, close any running sbd servers, start a new one on a random ephemeral port (plain text, not TLS), then print out CMD:START:<addr-list> where addr-list is a json representation of an array of addresses (ip:port) e.g. CMD:START:["127.0.0.1:44556", "[::1]:44557"].

Structs§

Report
Results of the test suite run.

Functions§

run
Run the test suite.