Hi I'm adding config options to nf-schema instead ...
# nextflow-plugins
n
Hi I'm adding config options to nf-schema instead of the parameters. I implemented this in https://github.com/nextflow-io/nf-schema/pull/5, but I'm having some trouble with testing different configurations (aka I don't know how to supply each test with it's own configuration options). Can anybody point me in the right direction 😁
👀 1
Okay, I figured it out by looking at
nf-dotenv
(https://github.com/fulcrumgenomics/nf-dotenv/blob/main/plugins/nf-dotenv/src/test/nextflow/dotenv/DotenvTest.groovy). Using
test.MockScriptRunner
seems to do the trick!