Simple test framework for Nextflow pipelines
The full documentation can be found here.
Installation
nf-test has the same requirements as Nextflow and can be used on POSIX compatible systems like Linux or OS X. You can install nf-test using the following command:
curl -fsSL https://get.nf-test.com | bash
If you don’t have curl installed, you could use wget:
wget -qO- https://get.nf-test.com | bash
It will create the nf-test executable file in the current directory. Optionally, move the nf-test file to a directory accessible by your $PATH variable.
Conda
To install this package from Bioconda run the following command:
conda install -c bioconda nf-test
Note: this recipe is not maintained by us.
Compile from source
To compile nf-test from source you shall have maven installed. This will produce a nf-test/target/nf-test.jar file.
git clone git@github.com:askimed/nf-test.git
cd nf-test
mvn install
To use the newly compiled nf-test.jar, update the nf-test bash script that is on your PATH to point to the new .jar file.
First locate it with which nf-test, and then modify APP_HOME and APP_JAR vars at the top:
If you test your pipeline with nf-test, please cite:
Forer, L., & Schönherr, S. Improving the reliability, quality, and maintainability of bioinformatics pipelines with nf-test, GigaScience, Volume 14, 2025, giaf130, https://doi.org/10.1093/gigascience/giaf130
🚀 nf-test
Installation
nf-test has the same requirements as Nextflow and can be used on POSIX compatible systems like Linux or OS X. You can install nf-test using the following command:
If you don’t have curl installed, you could use wget:
It will create the
nf-testexecutable file in the current directory. Optionally, move thenf-testfile to a directory accessible by your$PATHvariable.Conda
To install this package from Bioconda run the following command:
Note: this recipe is not maintained by us.
Compile from source
To compile nf-test from source you shall have maven installed. This will produce a
nf-test/target/nf-test.jarfile.To use the newly compiled
nf-test.jar, update thenf-testbash script that is on your PATH to point to the new.jarfile. First locate it withwhich nf-test, and then modifyAPP_HOMEandAPP_JARvars at the top:Usage
The full documentation can be found here.
Badge
Show the world your Nextflow pipeline is using nf-test:
Citation
If you test your pipeline with nf-test, please cite:
Forer, L., & Schönherr, S. Improving the reliability, quality, and maintainability of bioinformatics pipelines with nf-test, GigaScience, Volume 14, 2025, giaf130, https://doi.org/10.1093/gigascience/giaf130
Contact