bast / runtest

:clapper: Numerically tolerant end-to-end test library for research software.

Home Page:http://runtest.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comparing text files in runtest

miroi opened this issue · comments

Hello,

in https://gitlab.com/dirac/dirac/-/blob/master/test/visual_custom_output/test we have the unique case of comparing whole text files filled with proper numbers.

Would be good to have this nice functionality in the "official" runtest documentation. Many times scientific software produces various text files to be compared with reference files.

Cc: @jonatantao

Ah, we have the funcionality in runtest for that !

So, this DIRAC test script, https://gitlab.com/dirac/dirac/-/blob/master/test/visual_custom_output/test , can be updated and rewritten using https://runtest.readthedocs.io/en/latest/creating/filter_options.html#how-to-check-entire-file . Right ?

Yes, I think it should just work. Hopefully :-)