Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.2.1
-
None
-
None
Description
Proper logging should be testable.
We need a unit test that sets up a logger and verifies that a particular logging message is present. The purpose of this test is (a) show logging is working at all (b) show how to do this so as to insure certain log messages are present.
Ideally the TDML language should have a way of specifying expected log output:
<logs>
<log>string here that must be in log message case insensitive</log>
<log>another such string</log>
</logs>
And consistent with DAFFODIL-864, which calls for TDML negative errors, warnings, validation errors, etc. there should be negative log checking as well.