Skip to content

Commit

Permalink
Fixing reporting issue with failed SetUpFixture
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Oct 5, 2018
1 parent b0b24a2 commit baa4e19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ReportPortal.NUnitExtension/ReportPortalListener.Suite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ private void FinishSuite(XmlDocument xmlDoc)
// at the end of execution nunit raises 2 the same events, we need only that which has 'parentId' xml tag
if (parentId != null)
{
if(!_suitesFlow.ContainsKey(id))
{
StartSuite(xmlDoc);
}

if (_suitesFlow.ContainsKey(id))
{
// finishing suite
Expand Down

0 comments on commit baa4e19

Please sign in to comment.