nose-devs/nose — Issue #15: xunit plugin rounds test time to the nearest integer
Author: jpellerin
Created: 2011-12-14 15:55:00+00:00
State: open

What steps will reproduce the problem?
1. run a test with --with-xunit
2. open nosetests.xml

As tests can often run in under a second, it seems like incorrect behaviour to
round test timings to the nearest second, but because the xunit plugin uses
%d string formatting, all floats are rounded off.

Here's a patch to retain 3 decimal points of a floating point timing to get at
least millisecond precision.

Google Code Info:
Issue #: 317
Author: stephene...@gmail.com
Created On: 2010-02-04T15:03:07.000Z
Closed On: 2011-03-21T16:08:00.000Z