+ /// read from program's stdout until EOF
+ void ExhaustError(std::string &error);
+ /// assert that the program produces no more output on stderr
+ void AssertNoError();
+
+ /// send termination signal
+ void Terminate();
+ /// assert that the program has not exited
+ void AssertRunning();
+ /// assert that the program has exited
+ void AssertTerminated();