Skip to content
Discussion options

You must be logged in to vote

The runner does its own output capturing: https://typer.tiangolo.com/tutorial/testing/#check-the-result - unfortunately there seems to be no way to turn it off, so you'd need to print(result.stdout) at some point (possibly via a helper function or fixture).

Also see (the CliRunner is just a thin wrapper over Click):

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ConstantinoSchillebeeckx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
2 participants