summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-09-30 12:41:31 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-10-02 21:44:36 +0200
commit5b0dc8cada55c54f0c819e533ac566898aa7139c (patch)
tree4153009c6fd0d4c48a742615f1784ee658b19c98
parentceb6c83ae21ca0d7e92d263e4e90429b63050a1d (diff)
downloadqutebrowser-5b0dc8cada55c54f0c819e533ac566898aa7139c.tar.gz
qutebrowser-5b0dc8cada55c54f0c819e533ac566898aa7139c.zip
Add pytest-{clarity,icdiff} for nicer output
-rw-r--r--misc/requirements/requirements-tests.txt5
-rw-r--r--misc/requirements/requirements-tests.txt-raw3
-rw-r--r--scripts/dev/recompile_requirements.py5
3 files changed, 13 insertions, 0 deletions
diff --git a/misc/requirements/requirements-tests.txt b/misc/requirements/requirements-tests.txt
index 5263a4d18..b0b1bccad 100644
--- a/misc/requirements/requirements-tests.txt
+++ b/misc/requirements/requirements-tests.txt
@@ -15,6 +15,7 @@ Flask==1.1.2
glob2==0.7
hunter==3.2.2
hypothesis==5.36.1 ; python_version>="3.6"
+icdiff==1.9.1
idna==2.10
iniconfig==1.0.1
itsdangerous==1.1.0
@@ -28,6 +29,7 @@ packaging==20.4
parse==1.18.0
parse-type==0.5.2
pluggy==0.13.1
+pprintpp==0.4.0
py==1.9.0
py-cpuinfo==7.0.0
Pygments==2.7.1
@@ -35,8 +37,10 @@ pyparsing==2.4.7
pytest==6.0.2
pytest-bdd==4.0.1
pytest-benchmark==3.2.3
+pytest-clarity==0.3.0a0
pytest-cov==2.10.1
pytest-forked==1.3.0
+pytest-icdiff==0.5
pytest-instafail==0.4.2
pytest-mock==3.3.1
pytest-qt==3.3.0
@@ -50,6 +54,7 @@ requests-file==1.5.1
six==1.15.0
sortedcontainers==2.2.2
soupsieve==2.0.1
+termcolor==1.1.0
tldextract==2.2.3
toml==0.10.1
urllib3==1.25.10
diff --git a/misc/requirements/requirements-tests.txt-raw b/misc/requirements/requirements-tests.txt-raw
index 7083f1fe2..424da9279 100644
--- a/misc/requirements/requirements-tests.txt-raw
+++ b/misc/requirements/requirements-tests.txt-raw
@@ -27,6 +27,9 @@ pytest-xvfb
PyVirtualDisplay
# To run on multiple cores with -n
pytest-xdist
+# For nicer output
+pytest-icdiff
+pytest-clarity
# Needed to test misc/userscripts/qute-lastpass
tldextract
diff --git a/scripts/dev/recompile_requirements.py b/scripts/dev/recompile_requirements.py
index 70cea31f4..2082dcb69 100644
--- a/scripts/dev/recompile_requirements.py
+++ b/scripts/dev/recompile_requirements.py
@@ -123,6 +123,11 @@ CHANGELOG_URLS = {
'tldextract': 'https://github.com/john-kurkowski/tldextract/blob/master/CHANGELOG.md',
'typing_extensions': 'https://github.com/python/typing/commits/master/typing_extensions',
'diff_cover': 'https://github.com/Bachmann1234/diff_cover/blob/master/CHANGELOG',
+ 'pytest-clarity': 'https://github.com/darrenburns/pytest-clarity/commits/master',
+ 'pytest-icdiff': 'https://github.com/hjwp/pytest-icdiff/blob/master/HISTORY.rst',
+ 'icdiff': 'https://github.com/jeffkaufman/icdiff/blob/master/ChangeLog',
+ 'termcolor': 'https://pypi.org/project/termcolor/',
+ 'pprintpp': 'https://github.com/wolever/pprintpp/blob/master/CHANGELOG.txt',
}
# PyQt versions which need SIP v4