summaryrefslogtreecommitdiff
path: root/testing/test_helpconfig.py
AgeCommit message (Collapse)Author
2020-08-03testing: fix some docstring issuesRan Benita
In preparation for enforcing some docstring lints.
2020-07-29Fix --help crash on add_ini(.., help='') and improve message on help=None ↵hp310780
(#7427)
2020-05-23Added support for less verbose version information (#7169)Claire Cecil
2020-05-19add testDaniel Hahler
Fixes the test to not match e.g. hypothesis (ref: bdde2ac28). Conflicts: testing/test_helpconfig.py
2020-02-11Merge remote-tracking branch 'upstream/master' into mmBruno Oliveira
Conflicts: src/_pytest/main.py src/_pytest/mark/structures.py src/_pytest/python.py testing/test_main.py testing/test_parseopt.py
2020-02-10Move ExitCode's definition from _pytest.main to _pytest.configRan Benita
ExitCode is used in several internal modules and hooks and so with type annotations added, needs to be imported a lot. _pytest.main, being the entry point, generally sits at the top of the import tree. So, it's not great to have ExitCode defined in _pytest.main, because it will cause a lot of import cycles once type annotations are added (in fact there is already one, which this change removes). Move it to _pytest.config instead. _pytest.main still imports ExitCode, so importing from there still works, although external users should really be importing from `pytest`.
2020-02-04testing/conftest.py: testdir: set PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 (#6655)Daniel Hahler
Fixes https://github.com/pytest-dev/pytest/pull/4518.
2020-01-16tests: cleanup unused fixturesDaniel Hahler
2019-06-15initial conversion of exit codes to enumRonny Pfannschmidt
2019-06-03pre-commit run reorder-python-imports --all-filesAnthony Sottile
2019-06-03pre-commit run fix-encoding-pragma --all-filesAnthony Sottile
2019-05-14Use fix-encoding-pragma pre-commit hookAnthony Sottile
2018-10-25Apply reorder-python-imports to all filesAnthony Sottile
2018-08-22pyupgrade 1.4: testsAnthony Sottile
2018-05-23run blackRonny Pfannschmidt
2017-07-17Fixed E302 flake8 errorsAndras Tim
expected 2 blank lines, found 0
2017-07-17Fixed E265 flake8 errorsAndras Tim
block comment should start with ‘# ‘
2017-04-11Fix test that expected "unknown hook" error on stderrBruno Oliveira
2017-03-16Add __future__ imports to all pytest modulesBruno Oliveira
This prevents silly errors from creeping in Python 2 when testing in Python 3
2016-06-21Introduce pytest command as recommended entry pointDave Hunt
Fixes #1629
2015-08-18return non-zero exit code if no tests are collectedBruno Oliveira
Fix #812 Fix #500
2015-05-06adapt to pluggy naming, rename pytest.hookspec_opts to pytest.hookspec,s ame ↵holger krekel
with hookimpl_opts --HG-- branch : pluggy1
2015-05-05- some more adaptation to most recent pluggy APIholger krekel
- avoid using pluggin underscore api - show pluggy version in header --HG-- branch : pluggy1
2015-04-28- refine lsof checkingholger krekel
- make runpytest() create an inline testing process instead of a subprocess one --HG-- branch : testrefactor
2015-04-25add documented hookimpl_opts and hookspec_opts decoratorsholger krekel
so that one doesn't have to use pytest.mark or function-attribute setting anymore --HG-- branch : more_plugin
2014-10-02remove overhead for tracing of hook calls and remove some old unused codeholger krekel
2014-10-01call scanning of plugins directly, code is shifted from helpconfig.py to core.pyholger krekel
2014-01-18replace py.test module references with pytestJurko Gospodnetić
The only remaining 'py.test' references are: * those referring to the 'py.test' executable * those in code explicitly testing py.test/pytest module compatibility * those in old CHANGES documentation * those in documentation generated based on external data * those in seemingly unfinished & unmaintained Japanese documentation Minor stylistic changes and typo corrections made to documentation next to several applied py.test --> pytest content changes.
2013-10-12fix flakes issues and make --flakes run part of tox runsholger krekel
2012-12-04fix test after ronny's pytest-debug improvementsholger krekel
2012-10-05rename a number of internal and externally visible variables to use the ↵holger krekel
fixture name rather than funcargs. Introduce .funcargnames compatibility attribute for backward compat.
2012-09-22extend --help to tell about --markers and --funcargsholger krekel
2011-07-14enhance debug tracing: print trace tags at the end of message and forget ↵holger krekel
about "prefix". Always log to "pytestdebug.log" if "--debug" option is given. also move related code to pytest_helpconfig plugin.
2011-01-12fix issue12 - show plugin versions with "--version" and "--traceconfig" and ↵holger krekel
also document how to add extra information to reporting test header
2010-11-17streamline docs, especially use "import pytest" and "pytest.*" in python ↵holger krekel
code examples instead of "import py" and "py.test.*".
2010-11-13also un-nest test directoryholger krekel