- make-dummy-user STRINGSprocedure
Given a list of strings representing a sequence of user input, this procedure returns a DUMMY-USER closure, which responds to the following messages:
(USER 'input) (USER 'output)
These calls return, respectively, an input and an output port. Generally you do not need to use them directly; they are used by with-dummy-user to rebind stdin and stdout.
(USER 'reset)
Resets the dummy user to its initial state, allowing repeated tests with the same data.
(USER 'dump)
Returns a list of all data received from and sent to the test program, in the form '((program: STRING) (user: STRING) ...).