You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add automated output matching of a test against its own stub version where the only difference is that the stub version runs with the -stub option?
I have tried to do this manually for the nf-core/FASTP module here: nf-core/modules#4637 by create a snapshot out of the list of process outputs:
This can be abstracted into a function such as snapshot.matchStub(). It may also enable nf-test to partially auto generate stub code and suggest it to the tester. Such as:
Hi Team
Thank you for the amazing work on nf-test.
Would it be possible to add automated output matching of a test against its own
stub
version where the only difference is that the stub version runs with the-stub
option?I have tried to do this manually for the nf-core/FASTP module here: nf-core/modules#4637 by create a snapshot out of the list of process outputs:
This can be abstracted into a function such as
snapshot.matchStub()
. It may also enable nf-test to partially auto generate stub code and suggest it to the tester. Such as:The text was updated successfully, but these errors were encountered: