microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
131 stars 57 forks source link

Junit test results publish with multiple failure nodes #189

Closed prawalagarwal closed 8 years ago

prawalagarwal commented 8 years ago

Description: There are JUnit result files which may have multiple failure and error nodes for a test case. TestResult publishing task was failing with testCaseNode.failure.attributes() is not a function for these result files.

Fix: Handled the case with multiple failure nodes and publishing the first node.

Testing: Manual

AshwiniChalla commented 8 years ago

approved with comments

allendm-msft commented 8 years ago

task version should be bumped up too? Add the right test cases Approved - as long as all comments are addressed

prawalagarwal commented 8 years ago

Task Version doesn't need to be bumped up. Test added for the new format.