Issue #62 will result in some changes to the diagnostic infrastructure. Before doing this we need a way to test the diagnostics to ensure that no regressions are introduced. Tests for diagnostic output would be very useful for other reasons also.
Three kinds of tests are proposed:
- make checksums of diagnostic output fields and test against a baseline to find regressions.
- some 'absolute' checks, for example checking that there are no NaNs in the output, or comparing against some expected field statistics.
- checking the that all diagnostics actually work. i.e. ensure that we can get output for all diagnostics in the code.
Issue #62 will result in some changes to the diagnostic infrastructure. Before doing this we need a way to test the diagnostics to ensure that no regressions are introduced. Tests for diagnostic output would be very useful for other reasons also.
Three kinds of tests are proposed: