Skip to content

Commit 4b6d30c

Browse files
committed
Fix tests
1 parent 9f01cc4 commit 4b6d30c

File tree

3 files changed

+23
-47
lines changed

3 files changed

+23
-47
lines changed

.nf-test.log

Lines changed: 18 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,18 @@
1-
Mar-24 16:59:48.775 [main] INFO com.askimed.nf.test.App - nf-test 0.9.4
2-
Mar-24 16:59:48.787 [main] INFO com.askimed.nf.test.App - Arguments: [test, tests/default.nf.test, --profile, docker, --verbose]
3-
Mar-24 16:59:49.608 [main] INFO com.askimed.nf.test.App - Nextflow Version: 25.10.4
4-
Mar-24 16:59:49.610 [main] INFO com.askimed.nf.test.commands.RunTestsCommand - Load config from file /home/nmahfel/nf-training/longraredisease/nf-test.config...
5-
Mar-24 16:59:50.322 [main] INFO com.askimed.nf.test.lang.dependencies.DependencyResolver - Loaded 110 files from directory /home/nmahfel/nf-training/longraredisease in 0.092 sec
6-
Mar-24 16:59:50.323 [main] INFO com.askimed.nf.test.lang.dependencies.DependencyResolver - Found 1 files containing tests.
7-
Mar-24 16:59:50.323 [main] DEBUG com.askimed.nf.test.lang.dependencies.DependencyResolver - Found files: [/home/nmahfel/nf-training/longraredisease/tests/default.nf.test]
8-
Mar-24 16:59:50.554 [main] INFO com.askimed.nf.test.commands.RunTestsCommand - Found 1 tests to execute.
9-
Mar-24 16:59:50.554 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Started test plan
10-
Mar-24 16:59:50.554 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Running testsuite 'Test pipeline' from file '/home/nmahfel/nf-training/longraredisease/tests/default.nf.test'.
11-
Mar-24 16:59:50.555 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Run test '461a1912: -profile test'. type: com.askimed.nf.test.lang.pipeline.PipelineTest
12-
Mar-24 17:07:58.605 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Test '461a1912: -profile test' finished. status: FAILED
13-
org.codehaus.groovy.runtime.powerassert.PowerAssertionError: 1 of 2 assertions failed
14-
at com.askimed.nf.test.lang.extensions.GlobalMethods.assertAll(GlobalMethods.java:47)
15-
at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
16-
at default_nf$_run_closure1$_closure2$_closure4.doCall(default.nf.test:21)
17-
at default_nf$_run_closure1$_closure2$_closure4.doCall(default.nf.test)
18-
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19-
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
20-
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
21-
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
22-
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
23-
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
24-
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:280)
25-
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1009)
26-
at groovy.lang.Closure.call(Closure.java:433)
27-
at groovy.lang.Closure.call(Closure.java:412)
28-
at com.askimed.nf.test.lang.TestCode.execute(TestCode.java:16)
29-
at com.askimed.nf.test.lang.pipeline.PipelineTest.execute(PipelineTest.java:135)
30-
at com.askimed.nf.test.core.TestExecutionEngine.execute(TestExecutionEngine.java:172)
31-
at com.askimed.nf.test.commands.RunTestsCommand.execute(RunTestsCommand.java:322)
32-
at com.askimed.nf.test.commands.AbstractCommand.call(AbstractCommand.java:43)
33-
at com.askimed.nf.test.commands.AbstractCommand.call(AbstractCommand.java:18)
34-
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
35-
at picocli.CommandLine.access$1300(CommandLine.java:145)
36-
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
37-
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
38-
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
39-
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
40-
at picocli.CommandLine.execute(CommandLine.java:2078)
41-
at com.askimed.nf.test.App.run(App.java:39)
42-
at com.askimed.nf.test.App.main(App.java:46)
43-
Mar-24 17:07:58.609 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Testsuite 'Test pipeline' finished. snapshot file: false, skipped tests: false, failed tests: true
44-
Mar-24 17:07:58.609 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Executed 1 tests. 1 tests failed. Done!
1+
Mar-24 17:25:03.915 [main] INFO com.askimed.nf.test.App - nf-test 0.9.4
2+
Mar-24 17:25:03.931 [main] INFO com.askimed.nf.test.App - Arguments: [test, tests/default.nf.test, --update-snapshot]
3+
Mar-24 17:25:04.849 [main] INFO com.askimed.nf.test.App - Nextflow Version: 25.10.4
4+
Mar-24 17:25:04.850 [main] INFO com.askimed.nf.test.commands.RunTestsCommand - Load config from file /home/nmahfel/nf-training/longraredisease/nf-test.config...
5+
Mar-24 17:25:05.669 [main] INFO com.askimed.nf.test.lang.dependencies.DependencyResolver - Loaded 110 files from directory /home/nmahfel/nf-training/longraredisease in 0.191 sec
6+
Mar-24 17:25:05.671 [main] INFO com.askimed.nf.test.lang.dependencies.DependencyResolver - Found 1 files containing tests.
7+
Mar-24 17:25:05.671 [main] DEBUG com.askimed.nf.test.lang.dependencies.DependencyResolver - Found files: [/home/nmahfel/nf-training/longraredisease/tests/default.nf.test]
8+
Mar-24 17:25:05.909 [main] INFO com.askimed.nf.test.commands.RunTestsCommand - Found 1 tests to execute.
9+
Mar-24 17:25:05.910 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Started test plan
10+
Mar-24 17:25:05.910 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Running testsuite 'Test pipeline' from file '/home/nmahfel/nf-training/longraredisease/tests/default.nf.test'.
11+
Mar-24 17:25:05.911 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Run test '461a1912: -profile test'. type: com.askimed.nf.test.lang.pipeline.PipelineTest
12+
Mar-24 17:31:45.749 [main] DEBUG com.askimed.nf.test.lang.extensions.SnapshotFile - Load snapshots from file '/home/nmahfel/nf-training/longraredisease/tests/default.nf.test.snap'
13+
Mar-24 17:31:45.761 [main] DEBUG com.askimed.nf.test.lang.extensions.Snapshot - Snapshots '-profile test' do not match. Update snapshots flag set.
14+
Mar-24 17:31:45.762 [main] DEBUG com.askimed.nf.test.lang.extensions.SnapshotFile - Updated snapshot '-profile test'
15+
Mar-24 17:31:45.764 [main] DEBUG com.askimed.nf.test.lang.extensions.SnapshotFile - Wrote snapshots to file '/home/nmahfel/nf-training/longraredisease/tests/default.nf.test.snap'
16+
Mar-24 17:31:45.765 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Test '461a1912: -profile test' finished. status: PASSED
17+
Mar-24 17:31:45.767 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Testsuite 'Test pipeline' finished. snapshot file: true, skipped tests: false, failed tests: false
18+
Mar-24 17:31:45.769 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Executed 1 tests. 0 tests failed. Done!

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
[![Nextflow](https://img.shields.io/badge/version-%E2%89%A525.04.6-green?style=flat&logo=nextflow&logoColor=white&color=%230DC09D&link=https%3A%2F%2Fnextflow.io)](https://www.nextflow.io/)
1414
[![nf-core template version](https://img.shields.io/badge/nf--core_template-3.5.1-green?style=flat&logo=nfcore&logoColor=white&color=%2324B064&link=https%3A%2F%2Fnf-co.re)](https://github.com/nf-core/tools/releases/tag/3.5.1)
15-
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
1615
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
1716
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
1817
[![Launch on Seqera Platform](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Seqera%20Platform-%234256e7)](https://cloud.seqera.io/launch?pipeline=https://github.com/nf-core/longraredisease)

tests/default.nf.test.snap

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"-profile test": {
33
"content": [
4-
true
4+
[
5+
"versions_yml:",
6+
"nf_core_longraredisease_software_mqc_versions.yml"
7+
]
58
],
6-
"timestamp": "2026-03-24T16:21:12.978386193",
9+
"timestamp": "2026-03-24T17:31:45.762014127",
710
"meta": {
811
"nf-test": "0.9.4",
912
"nextflow": "25.10.4"

0 commit comments

Comments
 (0)