Daniel Hahler
|
7f519f8ab7
|
Merge master into features
|
2019-04-27 00:43:00 +02:00 |
Nikolay Kondratyev
|
bc00d0f7db
|
Fix handle repr error with showlocals and verbose output
|
2019-04-19 18:54:21 +03:00 |
Daniel Hahler
|
e3e57a755b
|
Merge pull request #5083 from blueyed/capture-_suspended
capture: store _state
|
2019-04-19 17:32:54 +02:00 |
Daniel Hahler
|
79d5fc3a0b
|
Merge pull request #5144 from blueyed/sessionfinish-exitstatus
pytest_sessionfinish: preset exitstatus with UsageErrors
|
2019-04-19 17:30:01 +02:00 |
Daniel Hahler
|
f75f7c1925
|
conftest: use a hookwrapper with sorting faster tests first
|
2019-04-19 01:23:34 +02:00 |
Daniel Hahler
|
698c4e75fd
|
capture: track current state in _state attributes
This is meant for debugging, and making assertions later.
|
2019-04-19 00:35:15 +02:00 |
Daniel Hahler
|
649d23c8a8
|
pytest_sessionfinish: preset exitstatus with UsageErrors
Previously it would be 0. Setting it to the expected outcome
(EXIT_USAGEERROR) here already helps `pytest_sessionfinish` hooks.
|
2019-04-18 23:18:59 +02:00 |
Ilya Konstantinov
|
d67d68f6d3
|
Eliminate core dependency on 'terminal' plugin
|
2019-04-17 11:19:19 -07:00 |
Bruno Oliveira
|
b64d9402ca
|
Merge pull request #5108 from blueyed/summary
terminal summary: display passes after warnings
|
2019-04-15 14:49:01 -03:00 |
Daniel Hahler
|
ea79eb5c3f
|
terminal summary: display passes after warnings
This displays passes (with output, `-rP`) before the short summary, and
before any other output from other plugins also.
|
2019-04-15 16:31:42 +02:00 |
Bruno Oliveira
|
852ca7ad59
|
Merge pull request #5114 from blueyed/fixtest
test_pytest_exit_returncode: ignore ResourceWarnings
|
2019-04-15 11:25:16 -03:00 |
Daniel Hahler
|
45ba736c81
|
Merge pull request #5128 from blueyed/mark-is
Fix error message with unregistered markers
|
2019-04-15 16:23:54 +02:00 |
Daniel Hahler
|
cc005af47e
|
Fix error message with unregistered markers
|
2019-04-15 10:15:37 +02:00 |
Daniel Hahler
|
f1f1862b19
|
Update testing/test_runner.py
|
2019-04-14 23:26:56 +02:00 |
Daniel Hahler
|
6f0a5789fb
|
Merge master into features
|
2019-04-14 23:22:21 +02:00 |
Daniel Hahler
|
1dd5f088fa
|
test_pytest_exit_returncode: ignore ResourceWarnings
Fixes https://github.com/pytest-dev/pytest/issues/5088.
|
2019-04-14 21:55:15 +02:00 |
Daniel Hahler
|
8fd5a658eb
|
monkeypatch.syspath_prepend: invalidate import cache
This was done with testdir only, and uses the fixed monkeypatch method
there now.
|
2019-04-13 16:15:44 +02:00 |
Anthony Sottile
|
43e7401c91
|
Produce a warning when unknown arguments are passed to pytest.param()
|
2019-04-12 13:00:39 -07:00 |
Anthony Sottile
|
da2e092163
|
pre-commit autoupdate
|
2019-04-12 04:52:47 -07:00 |
Bruno Oliveira
|
19035f4b55
|
Merge pull request #5068 from blueyed/reportchars
Add support for reportchars=A (`-rA`)
|
2019-04-12 08:13:22 -03:00 |
Samuel Searles-Bryant
|
a37d1df089
|
Show XFail reason as part of JUnitXML message field
Fixes #4907
|
2019-04-11 22:26:05 +01:00 |
Daniel Hahler
|
8b2fcf517c
|
Merge master
|
2019-04-11 13:28:36 +02:00 |
Daniel Hahler
|
b3759372ad
|
Merge pull request #5082 from blueyed/pytester-raise_on_kwargs
pytester: improve/fix kwargs validation
|
2019-04-11 00:46:18 +02:00 |
Bruno Oliveira
|
f5d2b199e2
|
Merge pull request #5069 from blueyed/cleanup-summary-to-terminal
cleanup: move terminal summary code to terminal plugin
|
2019-04-10 19:32:01 -03:00 |
Daniel Hahler
|
148f2fc72c
|
Fix test_error_during_readouterr: syspathinsert is unused
|
2019-04-10 21:57:45 +02:00 |
Daniel Hahler
|
10fa66e5b5
|
Merge pull request #5059 from blueyed/pytester-popen-run-stdin
pytester: allow passing in stdin to run/popen
|
2019-04-10 20:32:22 +02:00 |
Daniel Hahler
|
fcbfdef11b
|
Merge pull request #5071 from blueyed/prefer-fast
Add a conftest to prefer faster tests
|
2019-04-10 01:22:24 +02:00 |
Daniel Hahler
|
b84f826fc8
|
test_run_stdin: add sleep
|
2019-04-10 00:03:49 +02:00 |
Daniel Hahler
|
4fb7a91a5e
|
pdb: add test for --trace with --pdbcls
Ensures that https://github.com/pytest-dev/pytest/issues/4111 is fixed,
which happened in 92a2884b as a byproduct.
|
2019-04-08 03:49:03 +02:00 |
Daniel Hahler
|
06029d11d3
|
Refactor into TerminalReporter.short_test_summary
|
2019-04-07 19:49:18 +02:00 |
Daniel Hahler
|
4c0ba6017d
|
Add a conftest to prefer faster tests
This uses pytest_collection_modifyitems for pytest's own tests to order
them, preferring faster ones via quick'n'dirty heuristics only for now.
|
2019-04-07 19:11:17 +02:00 |
Daniel Hahler
|
c70ecd49ca
|
cleanup: move terminal summary code to terminal plugin
Fixes https://github.com/pytest-dev/pytest/issues/5067.
|
2019-04-07 18:22:04 +02:00 |
Daniel Hahler
|
50edab8004
|
Add tests for reportchars=a
Ref: https://github.com/pytest-dev/pytest/issues/5066
|
2019-04-07 18:05:33 +02:00 |
Daniel Hahler
|
b4b9f788af
|
Support reportchars=A (really all, including passed)
|
2019-04-07 18:05:33 +02:00 |
Daniel Hahler
|
4fca86e2af
|
testdir.popen: use kwargs with defaults for stdout/stderr
|
2019-04-06 12:13:48 +02:00 |
Daniel Hahler
|
9ad00714ba
|
pytester: allow passing in stdin to run/popen
|
2019-04-06 12:13:28 +02:00 |
Daniel Hahler
|
377888140f
|
Merge master into features
Conflicts:
testing/test_pdb.py
|
2019-04-05 17:50:32 +02:00 |
Bruno Oliveira
|
4f33f46a02
|
Merge pull request #5026 from blueyed/compare-len-diff
Display number of different items with sequence/dict comparisons
|
2019-04-05 08:53:48 -03:00 |
Daniel Hahler
|
8011ff5bda
|
Add _sys_snapshot fixture and use it with more tests
|
2019-04-05 11:55:23 +02:00 |
Daniel Hahler
|
899e74aa14
|
tests: harden test_immediate_initialiation_and_incremental_are_the_same
|
2019-04-05 11:55:23 +02:00 |
Daniel Hahler
|
66f743c45a
|
Fix test_conftest when run via pytest-randomly
|
2019-04-05 11:55:23 +02:00 |
Daniel Hahler
|
eb5b2e0db5
|
Support glob argument with ``--cache-show``
|
2019-04-04 18:10:39 +02:00 |
Daniel Hahler
|
47d92a0d96
|
Add tests and improve messages
|
2019-04-04 17:53:39 +02:00 |
Bruno Oliveira
|
e04936fc29
|
Merge pull request #5042 from blueyed/merge-regen-master-into-features
Merge master into features (with regen)
|
2019-04-04 10:44:30 -03:00 |
Daniel Hahler
|
0d4636b056
|
Merge pull request #5034 from blueyed/run-last-failure-report
run-last-failure: improve reporting
|
2019-04-04 00:40:40 +02:00 |
Daniel Hahler
|
a65edf6711
|
Merge pull request #5028 from blueyed/fix-wrap_session-exit-code
wrap_session: restore old behavior for initstate=1
|
2019-04-04 00:39:38 +02:00 |
Daniel Hahler
|
757ada2fd2
|
pdb: try to import --pdbcls in pytest_configure only
Fixes https://github.com/pytest-dev/pytest/issues/5039.
|
2019-04-03 22:35:18 +02:00 |
Daniel Hahler
|
e88aa957ae
|
Merge pull request #4854 from blueyed/pdb-skip
pdb: add option to skip `pdb.set_trace()`
|
2019-04-03 22:25:38 +02:00 |
Daniel Hahler
|
8907fedc79
|
Merge master into features (with regen branch)
|
2019-04-03 22:11:00 +02:00 |
Daniel Hahler
|
1f5a61e4ef
|
run-last-failure: improve reporting
|
2019-04-03 16:27:12 +02:00 |