Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2643

unit test needed that shows how to capture and examine log for proper logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.2.1
    • None
    • Infrastructure, QA
    • 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. 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: