How to test?
Manfred Lotz
ml_news at posteo.de
Fri Apr 24 14:40:32 EDT 2020
I have a command like application which checks a directory tree for
certain things. If there are errors then messages will be written to
stdout.
How to test this in the best way?
One idea was for the error situations to write messages to files and
then later when running the tests to compare the error messages output
to the previously saved output.
Is there anything better?
--
Thanks,
Manfred
More information about the Python-list
mailing list