Closed
Description
Quack,
I'm using cmd2 2.3.3 on Python 3.9.9 on Debian unstable.
I am trying to test my application using transcripts. Depending on the gravity of the situation it uses pwarning()
or perror()
to alert the user but these calls are not caught by transcript and looking at the code of _generate_transcript
is seems only stdout is captured.
I believe testing application checks are useful and in most test framework you can catch exceptions; would you consider capturing stderr too in the transcript?
Regards.
\_o<
Metadata
Metadata
Assignees
Labels
No labels