From ffa3c8bc4b42cfa461cede908dddb652abb2f0e1 Mon Sep 17 00:00:00 2001 From: Devon Estes Date: Tue, 1 Jan 2019 19:12:57 +0100 Subject: [PATCH] Add documentation about ExUnit.Test.time (#8583) * Add documentation about ExUnit.Test.time Now we're specifying what that integer actually represents - microseconds! * Update lib/ex_unit/lib/ex_unit.ex Co-Authored-By: devonestes --- lib/ex_unit/lib/ex_unit.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex_unit/lib/ex_unit.ex b/lib/ex_unit/lib/ex_unit.ex index bae3fe3db0..abea26d9f7 100644 --- a/lib/ex_unit/lib/ex_unit.ex +++ b/lib/ex_unit/lib/ex_unit.ex @@ -92,7 +92,7 @@ defmodule ExUnit do * `:name` - the test name * `:module` - the test module * `:state` - the finished test state (see `t:ExUnit.state/0`) - * `:time` - the time to run the test + * `:time` - the duration in microseconds of the test's runtime * `:tags` - the test tags * `:logs` - the captured logs