Repository navigation
Additional unit tests to UMDP3 checker - #260
R Sharp (r-sharp) wants to merge 8 commits into
Conversation
Erica Neininger (ericaneininger)
left a comment
There was a problem hiding this comment.
Looks like sensible testing of the issues reported to me - just a single typo (twice) in a comment and a possibly irrelevant comment. Thanks.
| "add", | ||
| 51, | ||
| [ | ||
| "CHARACTER(LEN=30) :: ndg_filename_template(2)= ['unset','unset'" |
There was a problem hiding this comment.
I'm not sure if this matters to the test, but the precise error which I reported was a closed bracket list of strings - so ['unset', 'unset']. Your test string doesn't include the closing bracket - but it probably represents the problem well enough anyway.
Co-authored-by: Erica Neininger <107684099+ericaneininger@users.noreply.github.com>
Co-authored-by: Erica Neininger <107684099+ericaneininger@users.noreply.github.com>
|
I've updated the text of the code tested, and fortunately (for me) the test(s) still pass. Thanks for spotting those, the missing |
PR Summary
#235 lists false failures - these new unit tests represent some of them.
Sci/Tech Reviewer: Erica Neininger (@ericaneininger)
Code Reviewer:
#235 identified some false failures thrown up by the UMDP3 checker. These new tests use the examples given by users to ensure similar failures don't creep back in.
No code has been changed, because it turns out the failures given had been fixed by #234, hence these trests all pass already.
Code Quality Checklist
Testing
Alongside the new unit tests, the script was run against a fresh WC of the UM (over a loop on directories
src/*/*) and the the failures highlighted in UMDP3 checker incorrectly identifies ..... #235 no longer occur.The majority of remaining failures are either :
Security Considerations
AI Assistance and Attribution
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review