:smiling_face_with_tear: :smiling_face_with_tear: ...
# meta-omics
j
🥲 🥲 🥲 One thought on implementing tests - if you can, it’s worth implementing some assertions about the content of files beyond just their md5 sum. One of my tests was an assertion about the expected number of rows in a CSV, which led to me finding a pretty big bug in the pipeline when I couldn’t meet it! Thanks for all the help and fun last week 😊 😊
🍌 1
100 rainbow 4
m
The more you can check the better
s
could you add this point in the nf-test guide plz. Thanks
j
Where do you think it would fit? Could put explicit examples of e.g. using nft-csv to count rows in
07_assertions
, or a bit about writing tests about expected file contents could fit in
06
or probably also in
10
?
s
explicit examples of e.g. using nft-csv to count rows in
07
a section in
06
as we now cover only the use of nft-utils plugin there so a bit about writing tests about expected file contents would be good to encourage people to go towards more functional testing and I was thinking of a separate page with more advanced examples like using custom functions, running ext tools etc.,
j
Sounds good, can do 👍
thanks 1
Have had a go! Hopefully what I've written makes sense 😅