Skip to content

Tests which are failed in OneTimeSetup are not open in Report Portal #6

@vitali-sonchyk-epam

Description

@vitali-sonchyk-epam

Environment:
nUnit Framework version- 3.10.1
nunit console runner - 3.9.0
ReportPortal.Nunit - 3.3.10
ReportPortal.Client - 2.1.0
ReportPortal.Shared - 2.0.6

ReportPortal instance version: Build: 4.2.2

Steps:

  1. Create any Test class with the OneTimeSetUp and any amount of tests(eg: 5)
  2. Add throwing any exception in OneTimeSetUp
  3. Run the test class (--where "class = namespace.classname")

Expected: the report portal should display all 5 failures.
Actual: only one failure is displayed. After attempt to open it an error is displayed in the bottom:
Link to test-item become invalid. Test-item was restored by id from server.

Note: An exception is displayed in nUnit output. Please see full nUnit output

RPoutput.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions