Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins #42

Merged
merged 20 commits into from
Oct 25, 2022
Merged

Plugins #42

merged 20 commits into from
Oct 25, 2022

Conversation

lukfor
Copy link
Collaborator

@lukfor lukfor commented Oct 25, 2022

Most assertions are usecase specific. Fo example bioinformatics (#20,#19), tables (#22) or image processing (#33). Therefore, separating this functionality and helper classes from the nf-test codebase has several advantages:

  1. nf-test releases are independent from plugin releases
  2. it is easier for third-parties to develop and maintain plugins
  3. it is possible to use private repositories to integrate private/protected code in plugins without sharing them

This pull request integrates a plugin system that provides (a) the possibility to extend existing classes with custom methods (e.g. path(filename).fasta) and (2) to extends nf-test with new methods.

The FASTA file-format is the first plugin. It can be found here https://github.com/askimed/nft-fasta and can be used as a boilerplate for plugins that provide support for VCFs, tables or images.

@lukfor lukfor merged commit 31a07cf into main Oct 25, 2022
@lukfor lukfor deleted the features/plugins branch October 25, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant