8000 Add ability to save diff results to a file · Issue #301 · askimed/nf-test · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add ability to save diff results to a file #301
Open
@jfy133

Description

@jfy133

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0