Description
Please point me to the relevant part in documentation if this does already exist, I tried searching but couldn't find it
Context
The diff output is very useful for identifying files that differ between nf-test runs when developing the test as it can help a developer refine their tests and come up with different strategies for variable files.
I'm currently adding nf-test support to a pipeline that produces a very large number of files.
So many, that the diff that gets printed to console runs off the top of my terminal (past the history limit).
Suggestion
It would be really cool if there was a way to save the diff to a specific file.
Alternatives considered
Redirecting the console stdout/stderr to a file. However, when someone uses a more fancy diff'ing tool (e.g. with colour support etc, which is very useful when developing smaller test like for processes), this makes it very hard to view due to colour escape sequences etc being embedded in the results, as well as including a lot of other text (e.g. the output from --verbose
). Therefore a dedicated file would be useful for this.