You can use purest. It has a built in fixtures that can inspect stdout and stderr.
https://docs.pytest.org/en/6.2.x/reference.html Bassam On Thu, Jun 10, 2021 at 1:44 PM Dan Stromberg <[email protected]> wrote: > > Hi folks. > > Are there any tools available for system testing a large, shell-callable > python script with many different command line options? > > I'm aware of pytest for unit tests, but what about running a shell command > with some options, and checking its stdout for appropriate content? > > Thanks. > > > -- > Dan Stromberg > _______________________________________________ > code-quality mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/code-quality.python.org/ > Member address: [email protected] > -- --- "What we can or cannot do, what we consider possible or impossible, is rarely a function of our true capability. It is more likely a function of our beliefs about who we are." - Tony Robbins
_______________________________________________ code-quality mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/code-quality.python.org/ Member address: [email protected]
