From 882ce5d930745398137460cb54f275274536ae84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Dachary?= Date: Sat, 6 Feb 2021 15:08:36 +0100 Subject: [PATCH] doc: explain how to run all the tests (#50921) License: MIT --- doc/development.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/development.rst b/doc/development.rst index a907079e5..f1cea0609 100644 --- a/doc/development.rst +++ b/doc/development.rst @@ -37,13 +37,18 @@ Run the tests 2. Run:: - $ pg_virtualenv tox + $ JENKINS_URL=fakeurl pg_virtualenv tox .. note:: `tests/test_ldap.py` will fail if `apparmor_status` reports that `/usr/sbin/slapd` is in enforce mode. +.. note:: + + Setting `JENKINS_URL` instructs tox to run `[tox:jenkins]` instead + of the default `[tox]`. + 2. Run with code coverage:: $ pg_virtualenv tox < /dev/null