nf-test
nf-test copied to clipboard
Simple test framework for Nextflow pipelines
Environment:  I have the following nf-test.config:  In the nextflow.config, I define:  And then I use it in the `process` block inside my .nf.test file here:  But...
Currently, the [extended nf-test Path object](https://code.askimed.com/nf-test/docs/assertions/files/) supports convenient access to JSON content, as well as reading compressed content line-by-line. However, there is no way (obvious to me right now) to...
I couldn't quite figure it out, but I see some surprising behaviour using the `with` block. As an example, the following code works ```groovy def items = process.out.report assert items.size()...
Greetings, I recently ran into some trouble coming from misaligned expectations with the `file` function. I wanted to assert a few file properties and expected `file` to return [`Path`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Path.html) instance,...
I have a basic test case that looks like the following (I apologize for the screenshot, GitHub's markdown editor gets confused by the Nextflow script block in the when block):...
Hi we encountered a small issue during the conversion of the nf-core modules tests to nf-test. We recently changed the `conda` declaration to use an `environment.yml` located in the same...
Just a thought since these could get quite verbose. But now having second thoughts now that I'm seeing they're not pure "Nextflow". ```nextflow test("Should use process ABRICATE_RUN to generate input...
This might be me doing something wrong, but it doesn't seem like nf-test supports the log.info in the stdout? I'd like to check the version is printed if I do...
Hi, I've tried using `outputDir` with the fixes introduced in the latest version of nf-test, but it's still not working when I try to use it inside of a config...
I looooove the snapshot possibility, but often, some elements cannot be snapshoted, and end up changing in between each snapshot. would it be possible to have an option to exclude...