Add a unit-test for error logging in implscope.cpp

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In SPM-3895 we introduced the logStatus() in implscope.cpp for printing the given status containing an error to the log. This function depends only on the logging subsystem and therefore is a good candidate for unit-testing. However, there are no existing unit-tests for implscope.cpp and log capture is not easy to import. Ideally, it would be nice to refactor log capturing utilities to be available to use in unit-tests and then use them to test logStatus().

            Assignee:
            Unassigned
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: