tuitest is a tool to create an run automated tests of text user interfaces. It is meant as a complement to the widespread use of unit tests, and uses concepts known from GUI testing tools with the difference that it applies them specifically to text- and terminal-based user interfaces.