Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Check that test case attribute exists in junit xml file before converting it #4623
Issue 4619 was opened because an error is thrown when the time attribute is missing from a testcase in the junit xml file.
I added a check that will verify the time attribute has contents before trying to convert it to a float and added a test to ensure other missing attributes don't cause problems.
With this change, users will not see parsing errors when running their tests. Fixes #4619.