summaryrefslogtreecommitdiff
path: root/pytest.py
AgeCommit message (Collapse)Author
2017-12-18move node base classes from main to nodesRonny Pfannschmidt
2017-07-31remove preinit, its no longer neededRonny Pfannschmidt
2017-07-28make Test Outcomes inherit from BaseException instead of exceptionRonny Pfannschmidt
fixes #580
2017-06-11move python api helpers out of the python moduleRonny Pfannschmidt
this separates exposed normal api from collection elements
2017-06-11move approx to own fileRonny Pfannschmidt
2017-03-28remove the namespace hook from mark after the param feature mergeRonny Pfannschmidt
2017-03-28fix up oversightsRonny Pfannschmidt
2017-03-28remove pytest_namespace from _pytest.pythonRonny Pfannschmidt
2017-03-28remove pytest_namespace from _pytest.mainRonny Pfannschmidt
2017-03-28hollow out pytest_namespace in _pytest.fixturesRonny Pfannschmidt
2017-03-28prepare a own pytest.collect fake module in oder to remove the nested ↵Ronny Pfannschmidt
builtin namespaces
2017-03-28remove pytest_namespace from _pytest.skippingRonny Pfannschmidt
2017-03-28remove pytest_namespace from _pytest.mark and fix latent pytest nesting bugRonny Pfannschmidt
2017-03-28remove pytest_namespace from _pytest/runner.pyRonny Pfannschmidt
2017-03-28remove pytest_namespace from recwarn and fixture decoratorsRonny Pfannschmidt
2017-03-28remove pytest_namespace from _pytest/debugging.pyRonny Pfannschmidt
2017-03-28remove pytest_namespace from _pytest.freeze_supportRonny Pfannschmidt
2017-03-28remove pytest_namespace from _pytest/assertionRonny Pfannschmidt
2015-09-17revert setuptools_scm addition introduced with ↵holger krekel
f22d14b105553e99946ccdbe8c47bc450863d843
2015-09-13use flake8 in the flakes testenvRonny Pfannschmidt
and extend the ignored errors list so pytest is clean we def have to trim down that one
2015-07-26fix version importRonny Pfannschmidt
2015-05-06adapt to pluggy naming, rename pytest.hookspec_opts to pytest.hookspec,s ame ↵holger krekel
with hookimpl_opts --HG-- branch : pluggy1
2015-04-29adapt pytest to pluggy's decoratorclass branchholger krekel
--HG-- branch : pluggy1
2015-04-29adapt pytest to using pluggy (current master)holger krekel
--HG-- branch : pluggy1
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
2013-09-30some more separation of core pluginmanager from pytest specific functionality.holger krekel
Idea is to have the PluginManager be re-useable from other projects at some point.
2013-07-25moving from optparse to argparse. Major difficulty isAnthon van der Neut
that argparse does not have Option objects -> added class Argument Needed explicit call of MyOptionParser.format_epilog as argparse does not have that. The parse_arg epilog argument wraps the text, which is not the same (could be handled with a special formatter). - parser.parse() now returns single argument (with positional args in .file_or_dir) - "file_or_dir" made a class variable Config._file_or_dir and used in help and tests - added code for argcomplete (because of which this all started!) addoption: - if option type is a string ('int' or 'string', this converted to int resp. str - if option type is 'count' this is changed to the type of choices[0] testing: - added tests for Argument - test_mark.test_keyword_extra split as ['-k', '-mykeyword'] generates argparse error test split in two and one marked as fail - testing hints, multiline and more strickt (for if someone moves format_epilog to epilog argument of parse_args without Formatter) - test for destination derived from long option with internal dash - renamed second test_parseopt.test_parse() to test_parse2 as it was not tested at all (the first was tested.) --HG-- branch : argparse
2012-09-25avoid double-instantiation of PluginManager in case of the "python ↵holger krekel
pytest.py" or -m pytest invocation
2011-03-19shift version string to _pytest directoryholger krekel
2011-03-19fix missing reason/name information for skipped testsholger krekel
2011-03-16fix issue33 - no collection error for classes prefixed "test" deriving from ↵holger krekel
object
2011-03-12don't import stuff at genscript import time but rather when it is usedholger krekel
2011-03-11speed up skippingholger krekel
2011-03-09bump to release version, regenerate docsholger krekel
2011-03-07half the overhead for calling a test function by introducing some cachingholger krekel
2011-03-07fix issue25 --pdb and win32/python encodings cause a crash in certain ↵holger krekel
situations. The reason is not clear but avoiding a fresh copy of the terminal writer helps, maybe because the underlying file object has some state?
2011-03-06fix issue27 - --collectonly and -k keyword selection now work together.holger krekel
internally, collectonly and terminal reporting has been unified.
2011-03-05add changelog entry about unittest change, bump versionholger krekel
2011-03-05fix and improve error reporting for parametrizing funcargs (originally ↵holger krekel
reported by antlong)
2011-03-03fix issue30 (the second time)holger krekel
put module globals into namespace for xfail and skipif expressions
2011-03-02fix issue 28 - setup_method now works with pytest_generate_testsholger krekel
2011-02-07up version, commit 2.0.1 annoucnement as sent outholger krekel
2011-02-03bumping version to pytest-2.0.1, regen docs and examplesholger krekel
2011-01-27fix error reporting issue when a "pyc" file has no relating "py"holger krekel
2011-01-18refine and unify initial capturing - now works also if the logging moduleholger krekel
is already used from an early-loaded conftest.py file (prior to option parsing)
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
2011-01-12fix issue17 by requiring an update to pylib which helps to fix itholger krekel
2011-01-11fix issue15 - tests for python3/nose-1.0 combo work nowholger krekel
2010-12-07rather named the new hook cmdline_preparseholger krekel
2010-12-07make getvalueorskip() be hidden in skip-reporting. also bump version.holger krekel