8000 JUnitReporter does not report failed test results when the test case throws an exception · Issue #1072 · utPLSQL/utPLSQL · GitHub
[go: up one dir, main page]

Skip to content
JUnitReporter does not report failed test results when the test case throws an exception #1072
Open
@StJabin

Description

@StJabin

Information about utPLSQL and Database version:
DB Version: 12.2.0.1.0
UT Version: v3.1.6.2735

JUnitReporter is activated and jenkins job is used to run multiple test cases.

If a test case fails, JUnitReporter reports the exception stack in the logfile. But all failed test statements (ut.expect...) are not part of the reporter file. That makes it difficult to analyze the problem.

If you run the same test case from HORA the exception stack is reported and all failed test statements, like:

"ORA-06512: at "METI2TDS.TSTUTGLOSQLGLO", line 376
ORA-06512: at line 6
Actual: 4 (number) was expected to equal: 5 (number)
at "METI2TDS.TSTUTGLOSQLGLO.TESTGLOSQL3", line 373"

In JUnitReporter just the first two lines are visible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0