diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-05-15 12:45:29 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-05-15 12:45:29 +0200 |
commit | 1aec789f4d010dfebae3cceac2c71ebeafe81e08 (patch) | |
tree | ba2a5f191c7d0b58ef8563d51309ef09fe508881 | |
parent | 32dffd14cd17832f8c68b06ba076d2f9fbd845f3 (diff) | |
download | qutebrowser-1aec789f4d010dfebae3cceac2c71ebeafe81e08.tar.gz qutebrowser-1aec789f4d010dfebae3cceac2c71ebeafe81e08.zip |
Add tests to release tarball
Closes #5081
-rw-r--r-- | MANIFEST.in | 8 | ||||
-rw-r--r-- | doc/changelog.asciidoc | 3 | ||||
-rw-r--r-- | misc/requirements/requirements-tests.txt-raw | 13 |
3 files changed, 18 insertions, 6 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index c8c11c32e..e163bde9f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,7 @@ recursive-include qutebrowser *.py recursive-include qutebrowser/img *.svg *.png recursive-include qutebrowser/javascript *.js +graft tests graft qutebrowser/html graft qutebrowser/3rdparty graft icons @@ -16,10 +17,10 @@ include misc/org.qutebrowser.qutebrowser.desktop include misc/org.qutebrowser.qutebrowser.appdata.xml include misc/Makefile include requirements.txt -include tox.ini include qutebrowser.py include misc/cheatsheet.svg include qutebrowser/config/configdata.yml +include pytest.ini prune www prune scripts/dev @@ -29,16 +30,17 @@ exclude scripts/asciidoc2html.py recursive-exclude doc *.asciidoc include doc/qutebrowser.1.asciidoc include doc/changelog.asciidoc -prune tests prune qutebrowser/3rdparty -exclude pytest.ini exclude mypy.ini +exclude tox.ini exclude qutebrowser/javascript/.eslintrc.yaml exclude qutebrowser/javascript/.eslintignore exclude doc/help exclude .* exclude misc/qutebrowser.spec exclude misc/qutebrowser.rcc +exclude tests/unit/scripts/test_run_vulture.py +exclude tests/unit/scripts/test_check_coverage.py prune doc/extapi prune misc/nsis diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index d3521e659..4dff740ff 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -43,6 +43,9 @@ Changed ~~~~~~~ - The `content.cookies.accept` setting now accepts URL patterns. +- Tests are now included in release tarballs. Note that only running them with + the exact dependencies listed in + `misc/requirements/requirements-tests.txt{,-raw}` is supported. Fixed ~~~~~ diff --git a/misc/requirements/requirements-tests.txt-raw b/misc/requirements/requirements-tests.txt-raw index 1b972ba18..4d6932c82 100644 --- a/misc/requirements/requirements-tests.txt-raw +++ b/misc/requirements/requirements-tests.txt-raw @@ -2,7 +2,6 @@ beautifulsoup4 cheroot coverage Flask -hunter hypothesis pytest pytest-bdd @@ -11,12 +10,20 @@ pytest-cov pytest-instafail pytest-mock pytest-qt -pytest-repeat pytest-rerunfailures -pytest-travis-fold pytest-xvfb + +## optional: +# To test :debug-trace, gets skipped if hunter is not installed +hunter +# To test scripts/dev/run_vulture.py which is not part of the release tarball vulture +# For colored pytest output (though also a direct qutebrowser dependency)) pygments +# Output folding on Travis +pytest-travis-fold +# --repeat switch (used to manually repeat tests) +pytest-repeat #@ markers: jaraco.functools python_version>="3.6" #@ add: jaraco.functools==2.0; python_version<"3.6" # rq.filter: <= 2.0 |