summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2009-07-20 20:08:11 +1000
committerRobert Collins <robertc@robertcollins.net>2009-07-20 20:08:11 +1000
commite617f7cb78e375ecd3bb0df18633a3a5f05e1d02 (patch)
tree1ee2158e0d74a35b4a7390c7024dcea086982791 /README
parent83e2424fbb77ca1ea6cf4b3fefddd10616b4e95c (diff)
downloadsubunit-git-e617f7cb78e375ecd3bb0df18633a3a5f05e1d02.tar.gz
Support microsecond times.
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 7 insertions, 2 deletions
diff --git a/README b/README
index 8b37ff9..786a965 100644
--- a/README
+++ b/README
@@ -17,6 +17,10 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ subunit reuses iso8601 by Michael Twomey, distributed under an MIT style
+ licence - see python/iso8601/LICENSE for details.
+
+
Subunit
-------
@@ -124,7 +128,7 @@ result object::
suite.run(result)
subunit includes extensions to the python ``TestResult`` protocol. The
-``time(seconds_since_epoch)`` method is called (if present) when a ``time:``
+``time(a_datetime)`` method is called (if present) when a ``time:``
directive is encountered in a subunit stream. This is used to tell a TestResult
about the time that events in the stream occured at, to allow reconstructing
test timing from a stream.
@@ -221,7 +225,8 @@ applying to a single test, or to cancel a global tag.
In Python, tags are assigned to the .tags attribute on the RemoteTest objects
created by the TestProtocolServer.
-The time element acts as a clock event - it sets the time for all future events.
+The time element acts as a clock event - it sets the time for all future
+events. The value should be a valid ISO8601 time.
The skip result is used to indicate a test that was found by the runner but not
fully executed due to some policy or dependency issue. This is represented in