Closed ibizaman closed 8 years ago
Good catch! The default time unit is way too granular. I will take a look at it now.
@ibizaman fixed this with 1.0.0. It was about time I released a 1.0.0 version.
Time is reported in seconds (rounded down). So if your tests run in less then a second, it will report 0. If there is any problems with this approach, please tell me.
For example, running one of my tests, the CLI formatter reports
and the produced xml has:
But JIRA interprets 46983 as seconds. It looks like the JUnit format expects time in seconds. See excerpt taken from the JUnit specification:
The fix should be using a decimal value representing the time in seconds the test took.