config {
    // location for all nf-tests
    testsDir "."

    // nf-test directory including temporary files for each test
    workDir System.getenv("NFT_WORKDIR") ?: ".nf-test"

    // location of an optional nextflow.config file specific for executing tests
    configFile "conf/test.config"

    // run all test with defined profile(s) from the main nextflow.config
    profile "test"
    triggers 'nextflow.config', 'nf-test.config', 'conf/test.config', 'conf/test_full.config'

    // Include plugins
    plugins {
        load "nft-bam@0.4.0"
        load "nft-utils@0.0.3"
    }
}
