Suggestions from code review applied and the <PR> ...
# nf-test
s
Suggestions from code review applied and the PR for chapter 3, 4 (testing modules & subwf) is open for additional review 🙏 @James Fellows Yates @Chris Hakkaart
@James Fellows Yates applied your's and also small restructure suggestions from claude proposed module TOC
Copy code
1. Overview
2. Understanding snapshots
3. Your first simple test walkthrough
4. Essential assertions ← MOVED UP
5. Creating a new module with tests
6. Stub mode testing ← ELEVATED
7. Testing parameter variations ← MOVED & ELEVATED
8. Testing chained modules
   - Global setup method
   - Local setup method
   - Aliasing dependencies
9. Running and maintaining tests ← NEW GROUPING
   - Updating module snapshots
   - Running tests with nf-test directly
10. Module testing principles
11. Next steps
new PR to review again....lmk if you like the flow
@Nicolas Vannieuwkerke could you give these 2 chapters a read when you get a chance - deploy link
n
I'll do this when I find some time, really really swamped this week 😅
Looking very good Sateesh, thanks! I left some basic comments
thanks 1
s
thanks @Nicolas Vannieuwkerke @James Fellows Yates ready for your review and approval again 🙏
hiya @James Fellows Yates a reminder to review and approve when you get some time. Thank you
j
@Sateesh_Peri the preview isn't working 🤔
image.png
Uh ok, where is that from?!
Which doesn't seem to match that either
j
(btw arriving ni Frankfurt in 10m, so might only get half way through)
👍 1
Where can I leave commetns?
or here is also fine and I ll take care of it
@Nicolas Vannieuwkerke, @James Fellows Yates doesn't like
sanitizeOutput
in the modules chapter.....cool if removed ?
n
Oh why not? 😮
It just cleans snapshots, what's not to like 😅
j
I like the idea, but not for a first time learning nf-test
n
Okay fair enough, but I think it should be mentioned somewhere at least
j
That would be in a more advanced thing or in nf-core nf-test specs
n
Fine by me as long as it is mentioned 😛