Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-13 | Spelling and grammar fixes | Ville Skyttä | |
2018-01-09 | Replace py.std with stdlib imports | Anthony Sottile | |
2017-12-11 | simplify test_conftest_found_with_double_dash() test code | Jurko Gospodnetić | |
2017-12-09 | shorten some test code | Jurko Gospodnetić | |
2017-11-04 | Fix linting E741: ambiguous variable name | Bruno Oliveira | |
2017-07-20 | Add "fix-lint" tox environment to fix linting errors | Bruno Oliveira | |
2017-07-17 | Fixed E302 flake8 errors | Andras Tim | |
expected 2 blank lines, found 0 | |||
2017-07-17 | Fixed E271 flake8 errors | Andras Tim | |
multiple spaces after keyword | |||
2017-07-17 | Fixed E265 flake8 errors | Andras Tim | |
block comment should start with ‘# ‘ | |||
2017-07-17 | Fixed E241 flake8 errors | Andras Tim | |
multiple spaces after ‘,’ | |||
2017-07-17 | Fixed E231 flake8 errors | Andras Tim | |
missing whitespace after ‘,’, ‘;’, or ‘:’ | |||
2017-07-17 | Fixed E225 flake8 errors | Andras Tim | |
missing whitespace around operator | |||
2017-07-17 | Fixed E101 flake8 errors | Andras Tim | |
indentation contains mixed spaces and tabs | |||
2017-06-01 | Fix --help with required options | Segev Finer | |
This works by adding an argparse Action that will raise an exception in order to skip the rest of the argument parsing. This prevents argparse from quitting due to missing required arguments, similar to the way that the builtin argparse --help option is implemented by raising SystemExit. Fixes: #1999 | |||
2017-03-16 | Add __future__ imports to all pytest modules | Bruno Oliveira | |
This prevents silly errors from creeping in Python 2 when testing in Python 3 | |||
2017-02-16 | New-style classes implemented for python 2.7 - #2147 | Michal Wajszczuk | |
2016-12-02 | Remove hook proxy cache | Bruno Oliveira | |
Fix #2016 | |||
2016-11-20 | Fix flake8 E305 and E306 errors | Bruno Oliveira | |
These errors started to appear with flake8-3.1.1, while they don't appear with version 3.1.0 (weird). | |||
2016-07-20 | Merge branch 'features' into conftest-exception-printing | Bruno Oliveira | |
2016-07-14 | Added confcutdir in testing/test_conftest.py::test_conftest_import_order and | RedBeardCode | |
testing/python/fixture.py::TestAutouseManagement::():: test_class_function_parametrization_finalization to avoid problems with abandoned conftest.py files in /tmp dir. Fixes #1536 | |||
2016-07-05 | Fixing link to issue and creating testcase that shows that it finds the line ↵ | Javier Domingo Cansino | |
in the stderr lines | |||
2016-01-25 | Moved py.code code over to py.test | Bruno Oliveira | |
Fix #103 | |||
2015-09-28 | fix issue #1073 -- shortcut plugin hook lookup if the attrname is not | holger krekel | |
prefixed with pytest_. | |||
2015-08-18 | return non-zero exit code if no tests are collected | Bruno Oliveira | |
Fix #812 Fix #500 | |||
2015-07-23 | Avoid detecting conftest files upwards from setup.cfg/pytest.ini/tox.ini ↵ | Bruno Oliveira | |
files by default As discussed in #82 | |||
2015-07-15 | Use a subdirectory in the TEMP directory to speed up tmpdir creation | Bruno Oliveira | |
Fix #105 | |||
2015-06-23 | Merge pull request #799 from pytest-dev/noconftest | holger krekel (rather uses bitbucket/hpk42) | |
Add a --noconftest option. | |||
2015-06-23 | Merge branch 'pytest-2.7' | holger krekel | |
Conflicts: AUTHORS _pytest/__init__.py setup.py testing/conftest.py tox.ini | |||
2015-06-23 | Check conftest.py is not loaded with --confcutdir. | Florian Bruhin | |
The test creates a conftest.py with "assert 0" which never should be loaded. However, if it were loaded, the test would still pass as it never checks if it was loaded or not. See #799. | |||
2015-06-23 | Add a --noconftest option. | Florian Bruhin | |
2015-04-22 | merge conftest management into PytestPluginManager | holger krekel | |
--HG-- branch : plugin_no_pytest | |||
2015-03-01 | Add comments | Eric Siegerman | |
--HG-- branch : issue616 | |||
2015-02-27 | move conftest visibility tests and their setup into a class, accomodates ↵ | holger krekel | |
@nicoddemus 's comment --HG-- branch : issue616 | |||
2015-02-26 | fix issue616 - conftest visibility fixes. This is achieved by | holger krekel | |
refactoring how nodeid's are constructed. They now are always relative to the "common rootdir" of a test run which is determined by finding a common ancestor of all testrun arguments. --HG-- branch : issue616 | |||
2014-08-01 | Simply show the node ID for verbose output | Floris Bruynooghe | |
This strips the line number, /@\d/, from the verbose output so it is directly the node ID of the test. This in turn means no special logic for accepting the line number as part of the node ID is needed when parsing the command line. | |||
2014-07-28 | fix conftest detection if commandline arguments contain "::" syntax | holger krekel | |
--HG-- branch : fix_initial_parsing | |||
2014-04-02 | cleanup internal conftest handling and avoid the strange None entry in the ↵ | holger krekel | |
conftest cache. (There is basically no reason to ask for conftestmodules without specifying a path.) --HG-- branch : conftest-clean | |||
2014-04-02 | fix issue436: improved finding of initial conftest files from command | holger krekel | |
line arguments by using the result of parse_known_args rather than the previous flaky heuristics. Thanks Marc Abramowitz for tests and initial fixing approaches in this area. | |||
2013-11-21 | remove an old duplicate marker and use recent pytest mechanism for ↵ | holger krekel | |
parametrization | |||
2013-11-12 | use deepest fixturedef for fixture closure | Anatoly Bubenkov | |
--HG-- branch : multi-level-fixture-deps-override | |||
2013-10-12 | fix flakes issues and make --flakes run part of tox runs | holger krekel | |
2013-07-06 | remove unnecessary print | Anatoly Bubenkov | |
2013-04-18 | Load conftest files in the correct order initially | Floris Bruynooghe | |
When the conftest.py files are looked for intially they got loaded starting from the subdir ending at the parent dir(s). Later on during collection any conftest.py files are loaded starting from the parent dir ending at the subdir. Due to how extending fixtures works the latter is correct as otherwise the wrong fixture will be available. So this changes the initial conftest loading to start at the root and go towards the subdir. This does also affect the order of other hooks, hence the order of the reporting being different in testing/test_terminal.py. | |||
2012-10-05 | rename 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-06-26 | fix issue151 - heuristcally lookup conftest files on all command line ↵ | holger krekel | |
arguments, not just the first existing dir/file you can install the corresponding pytest-2.3.dev2 via pip install -i http:/pypi.testrun.org -U pytest | |||
2011-09-21 | try to make test suite pass on jython 2.5.1 again | holger krekel | |
2011-01-11 | remove same-conftest.py detection - does more harm than good | holger krekel | |
(see mail from Ralf Schmitt on py-dev) | |||
2010-11-17 | streamline docs, especially use "import pytest" and "pytest.*" in python ↵ | holger krekel | |
code examples instead of "import py" and "py.test.*". | |||
2010-11-13 | flat is better than nested (cont'd): | holger krekel | |
- pytest.py is new module, making "python -m pytest" work always - _pytest/*.py now contains core.py, hookspec and the plugins, no sub packages | |||
2010-11-13 | internally use pytest.* instead of ``py.test.*`` in many places. | holger krekel | |
make sub namespace names 'collect' and 'cmdline' available on pytest directly |