bioRxivBioinformaticsPreprint
Improving the Reliability and Quality of Nextflow Pipelines with nf-test
Abstract
The workflow management system Nextflow builds together with the nf-core community an essential ecosystem in Bioinformatics. However, ensuring the correctness and reliability of large and complex pipelines is challenging, since a unified and automated unit-style testing framework specific to Nextflow is still missing. To provide this crucial component to the community, we developed the testing framework nf-test. It introduces a modular approach that enables pipeline developers to test individual process blocks, workflow patterns and entire pipelines in insolation. nf-test is based on a similar syntax as Nextflow DSL 2 and provides unique features such as snapshot testing and smart testing to save resources by testing only changed modules. We show on different pipelines that these improvements minimize development time, reduce test execution time by up to 80% and enhance software quality by identifying bugs and issues early. Already adopted by dozens of pipelines, nf-test improves the robustness and reliability in pipeline development.
- Citations
- 1
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- nf-core: Community curated bioinformatics pipelines
Philip Ewels, Alexander Peltzer, … Sven Nahnsen·bioRxiv·May 26, 2019
- NextflowWorkbench: Reproducible and Reusable Workflows for Beginners and Experts
Jason P. Kurs, Manuele Simi, Fabien Campagne·bioRxiv·Mar 28, 2016
- Empowering bioinformatics communities with Nextflow and nf-core
Björn E. Langer, Andreia Neves do Amaral, … The Nf-Core Community·Genome biologyPeer-reviewed·Jul 29, 2025
- DolphinNext: A graphical user interface for creating, deploying and executing Nextflow pipelines
Onur Yukselen, Osman Türkyılmaz, … Alper Küçükural·BMC GenomicsPeer-reviewed·Apr 19, 2020
- saks-nf: A json solution for Nextflow pipeline construction
Xinming Zhuo, Nicholas Renzette, Gregory Omerza·bioRxiv·Sep 19, 2022
- MOAflow: how re-design a pipeline with Nextflow streamlines data analysis
Jacopo Tartaglia, Mario Giorgioni, … Primetta Faccioli·Open Research EuropePeer-reviewed·May 2, 2026