Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28993

Improve Nuxeo Runtime Test error handling

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Tests

      Description

      Context

      We have a rich test framework around JUnit 4 allowing to declare RunnerFeature with callback methods called during a precise moment of the test.

      This part of the framework suffers from exception swallowing making development harder in case of errors during before test phase.

      Request

      We want to fix this swallowing issue, the root cause should be kept as it.
      We don't want to wrap the exception each time we catch one because JUnit 4 has a chain mechanism (like Filter in servlet API) which will result in a chain of exception, this is not suitable for debugging.

      Also, let's try to add some trace/debug logging for further analysis.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m