nestorsalceda / mamba

The definitive testing tool for Python. Born under the banner of Behavior Driven Development (BDD).
http://nestorsalceda.github.io/mamba
MIT License
518 stars 65 forks source link

fix: change junit 'time' field format, as it breaks some importers when parsing it #155

Closed airadier closed 3 years ago

airadier commented 3 years ago

What this PR does / why we need it:

The 'time' field in the JUnit formatter was output as 0:00:00.693097' instead of just plain seconds, like0.693097`. JUnit consumers just taking it as a string worker, but if they tried to parse it as a float, it failed.

Special notes for your reviewer: