add --shorten-output-lines option so users can change how much is shown
[pytest-output-to-files.git] / README.md
1 A pytest plugin that shortens test output with the full output stored in files.
2
3 This is useful for things like CI where a test generates a giant output, and
4 when pytest prints that to the output, the CI infrastructure proceeds to stop
5 processing output at some point so the rest of pytest's output including the
6 handy test summary at the end just gets ignored by the CI infrastructure,
7 which is very annoying.
8
9 This also can be used to work around the problem where a test will generate a
10 giant output and pytest then proceeds to run out of memory because it stores
11 the full output in memory. This plugin goes to great lengths to never try to
12 store the full test output in memory, so should resolve that problem.