Skip to content

Repository files navigation

nft-utils

This repository contains utility functions for nf-test. These functions are used to help capture level tests using nf-test.

Please read the documentation for more information.

Development

The nft-utils plugin needs Nextflow and nf-test. It use maven for compilation and nf-core for testing. A conda environment is available and can be used for development

# Install conda environment
mamba env create -f environment.yml
mamba activate env_nft_utils

# Compile the package
mvn package

# Run all the unittest
nf-test test --plugins target/nft-utils-*.jar --verbose --debug tests/
# or a single one and update the snapshot
nf-test test --plugins target/nft-utils-*.jar --update-snapshot tests/sanitizeOutput/
# and the test with no plugins installed
nf-test test --plugins target/nft-utils-*.jar --config tests_noplugins/nf-test_noplugins.config tests_noplugins/sanitizeOutput/

Credits

nft-utils was created by the nf-core community.

We'd like to thank the following people:

About

nf-test utility functions

Topics

Resources

Stars

13 stars

Watchers

8 watching

Forks

Releases

Used by

Contributors

Languages