Rename "junit_time" to "junit_duration_report" option

Just realized while reading the changelog that "junit_time" is not a very good
name, so I decided to open this PR renaming it to "junit_duration_report" which
I believe conveys the meaning of the option better
This commit is contained in:
Bruno Oliveira
2018-12-14 12:56:26 -02:00
parent ae5d5b8f59
commit 231863b133
4 changed files with 10 additions and 8 deletions

View File

@@ -301,12 +301,12 @@ should report total test execution times, including setup and teardown
(`1 <http://windyroad.com.au/dl/Open%20Source/JUnit.xsd>`_, `2
<https://www.ibm.com/support/knowledgecenter/en/SSQ2R2_14.1.0/com.ibm.rsar.analysis.codereview.cobol.doc/topics/cac_useresults_junit.html>`_).
It is the default pytest behavior. To report just call durations
instead, configure the ``junit_time`` option like this:
instead, configure the ``junit_duration_report`` option like this:
.. code-block:: ini
[pytest]
junit_time = call
junit_duration_report = call
.. _record_property example: