Skip to content

Conversation

famosab
Copy link
Contributor

@famosab famosab commented Apr 9, 2025

@netlify /docs/tutorials/tests_and_test_data/nf-test_writing_tests

Copy link

netlify bot commented Apr 9, 2025

Deploy Preview for nf-core-docs ready!

Name Link
🔨 Latest commit 8a238d8
🔍 Latest deploy log https://app.netlify.com/projects/nf-core-docs/deploys/68526db7c23b9a00081a0e60
😎 Deploy Preview https://deploy-preview-3306--nf-core-docs.netlify.app/docs/tutorials/tests_and_test_data/nf-test_writing_tests
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Apr 9, 2025

Deploy Preview for nf-core-main-site ready!

Name Link
🔨 Latest commit 8a238d8
🔍 Latest deploy log https://app.netlify.com/projects/nf-core-main-site/deploys/68526db8bbc7ce0008dee608
😎 Deploy Preview https://deploy-preview-3306--nf-core-main-site.netlify.app/docs/tutorials/tests_and_test_data/nf-test_writing_tests
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

then {
assertAll(
{ assert process.success },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can do as @SPPearce suggested and put the assert process.success before the assertAll?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, this would be nice.
In the end do we even need the assertAll ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not so sure about that either

@mashehu
Copy link
Contributor

mashehu commented Jun 9, 2025

any updates here @famosab?

@SPPearce
Copy link
Contributor

SPPearce commented Jun 9, 2025

I'm going to ping @LouisLeNezet here and hope that he is willing to do some work on the docs ;)

Copy link
Contributor

@LouisLeNezet LouisLeNezet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is some comments, where things could be further standardized.
This would help to uniformize the modules repository 😉

then {
assertAll(
{ assert process.success },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, this would be nice.
In the end do we even need the assertAll ?

famosab and others added 3 commits June 11, 2025 10:02
Co-authored-by: Louis Le Nézet <58640615+LouisLeNezet@users.noreply.github.com>
…est_writing_tests.md

Co-authored-by: Louis Le Nézet <58640615+LouisLeNezet@users.noreply.github.com>
process {
"""
input[0] = Channel.fromList([
tuple([ id:'test1', single_end:false ], // meta map
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use tuple( or [

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to remove everything even the Channel statetement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants