Skip to content

Commit dc3f065

Browse files
committed
Add reference to config parameters
1 parent f0ebeb0 commit dc3f065

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

doc/en/reference/reference.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1873,6 +1873,32 @@ passed multiple times. The expected format is ``name=value``. For example::
18731873
Default: ``all``
18741874

18751875

1876+
.. confval:: truncation_limit_chars
1877+
1878+
Controls the characters limit to truncate to.
1879+
Setting value to ``0`` disables the character limit for truncation.
1880+
1881+
.. code-block:: ini
1882+
1883+
[pytest]
1884+
truncation_limit_chars = 640
1885+
1886+
Default: ``640``
1887+
1888+
1889+
.. confval:: truncation_limit_lines
1890+
1891+
Controls the lines limit to truncate to.
1892+
Setting value to ``0`` disables the lines limit for truncation.
1893+
1894+
.. code-block:: ini
1895+
1896+
[pytest]
1897+
truncation_limit_lines = 8
1898+
1899+
Default: ``8``
1900+
1901+
18761902
.. confval:: usefixtures
18771903

18781904
List of fixtures that will be applied to all test functions; this is semantically the same to apply

0 commit comments

Comments
 (0)