Skip to content

Fixes #82: net-trx parser crashing on missing duration attribute#86

Merged
dorny merged 1 commit intomainfrom
issue-82-net-trx-no-duration
Mar 24, 2021
Merged

Fixes #82: net-trx parser crashing on missing duration attribute#86
dorny merged 1 commit intomainfrom
issue-82-net-trx-no-duration

Conversation

@dorny
Copy link
Copy Markdown
Owner

@dorny dorny commented Mar 24, 2021

In same cases duration attribute is missing in <UnitTestResult> element of TRX.
Previously this caused action failure.
This PR fixes it and it counts as if the duration was 0.

closes #82

@dorny dorny merged commit 10268d2 into main Mar 24, 2021
@dorny dorny deleted the issue-82-net-trx-no-duration branch March 24, 2021 17:08
@dorny dorny changed the title Fixes #82: net-trx parser handles missing duration attribute Fixes #82: net-trx parser crashing on missing duration attribute Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[dotnet-trx] Cannot read property 'match' of undefined

1 participant