Catch use of namelist attribute in failure testing in perl build-namelist tester #2673
Labels
bfb
bit-for-bit
good first issue
simple; good for first-time contributors
testing
additions or changes to tests
Until #585 happens a little bit of error checking added to the failure and warning testing in ./build-namelist_test.pl could really help us with adding new tests. These tests set a hash, with options, namelst, phys, and XML variable names. If any of those are misspelled (with the misspelled namelist attribute namelst being particularly easy thing to miss) -- the test won't function correctly. But, just adding error checking to ensure the expected things are set would catch this for developers and make adding a new test much easier.
Also change namelst to namelist would also help as well.
The text was updated successfully, but these errors were encountered: