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 |
Bruno Oliveira
|
bc157417e1
|
Merge pull request #5051 from blueyed/fix-test
Fix test_conftest when run via pytest-randomly
|
2019-04-10 19:08:28 -03:00 |
Daniel Hahler
|
12133d4eb7
|
changelog [ci skip]
|
2019-04-10 23:15:25 +02:00 |
Daniel Hahler
|
148f2fc72c
|
Fix test_error_during_readouterr: syspathinsert is unused
|
2019-04-10 21:57:45 +02:00 |
Daniel Hahler
|
5d9d12a6be
|
pytester: improve/fix kwargs validation
|
2019-04-10 21:57:45 +02:00 |
Daniel Hahler
|
dde27a2305
|
changelog [ci skip]
|
2019-04-10 21:39:51 +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 |
Bruno Oliveira
|
5e26304d81
|
Merge pull request #5075 from blueyed/console_output_style
terminal: console_output_style: document "count" with help
|
2019-04-09 20:54:12 -03:00 |
Bruno Oliveira
|
d0860a339b
|
Merge pull request #5076 from blueyed/_show_progress_info
terminal: store console_output_style in _show_progress_info
|
2019-04-09 20:37:50 -03: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
|
ec46864922
|
run: pass through stdin, just close then
|
2019-04-10 00:02:38 +02:00 |
Daniel Hahler
|
c36a90531a
|
Move CLOSE_STDIN to class
|
2019-04-10 00:01:15 +02:00 |
Daniel Hahler
|
3fa329c9e9
|
Merge pull request #5074 from blueyed/trace
pdb: add test for --trace with --pdbcls
|
2019-04-08 18:48:44 +02:00 |
Daniel Hahler
|
a70e5f119e
|
terminal: store console_output_style in _show_progress_info
Avoids ini lookups.
|
2019-04-08 04:34:26 +02:00 |
Daniel Hahler
|
b6b7185b7b
|
terminal: console_output_style: document "count" with help
|
2019-04-08 04:32:53 +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
|
ff5e98c654
|
Change noqa comment to pragma
|
2019-04-08 03:48:42 +02:00 |
Daniel Hahler
|
2662c400ba
|
dedent
|
2019-04-07 20:04:31 +02:00 |
Daniel Hahler
|
d8d835c1f5
|
minor: use functools.partial
|
2019-04-07 19:49:18 +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
|
a7e49e6c07
|
reportchars: fix/improve help message
|
2019-04-07 18:05:33 +02:00 |
Daniel Hahler
|
2b1ae8a66d
|
__tracebackhide__ for check
|
2019-04-06 15:00:23 +02:00 |
Daniel Hahler
|
2ebb69b50a
|
py2 fixes
|
2019-04-06 15:00:12 +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 |
Bruno Oliveira
|
b549438423
|
Merge pull request #5058 from blueyed/merge-master-into-features
Merge master into features
|
2019-04-05 14:28:48 -03:00 |
Daniel Hahler
|
377888140f
|
Merge master into features
Conflicts:
testing/test_pdb.py
|
2019-04-05 17:50:32 +02:00 |
Daniel Hahler
|
df377b589f
|
use wcwidth
|
2019-04-05 17:43:11 +02:00 |
Bruno Oliveira
|
87ce586d29
|
Merge pull request #5055 from blueyed/showhelp-lazy-fullwidth
showhelp: move tw.fullwidth out of the loop
|
2019-04-05 12:11:47 -03:00 |
Daniel Hahler
|
f599172add
|
test with 😄 in message
|
2019-04-05 16:08:11 +02:00 |
Daniel Hahler
|
e20b39d928
|
showhelp: move tw.fullwidth out of the loop
|
2019-04-05 15:14:02 +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
|
159704421e
|
change separator to hyphen
|
2019-04-05 12:21:24 +02:00 |
Daniel Hahler
|
0f965e57a2
|
changelog, fix branch coverage
|
2019-04-05 12:12:29 +02: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
|
8ad99c5cab
|
Merge pull request #5035 from blueyed/cache-glob
Support glob argument with ``--cache-show``
|
2019-04-05 10:25:19 +02:00 |
Daniel Hahler
|
37ecca3ba9
|
factor out _get_line_with_reprcrash_message
|
2019-04-04 22:13:28 +02:00 |
Daniel Hahler
|
3d0ecd03ed
|
Display message from reprcrash in short test summary
This is useful to see common patterns easily, but also for single
failures already.
|
2019-04-04 18:49:13 +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 |
Daniel Hahler
|
7f1bf44aa8
|
_compare_eq_dict: display number of different items
|
2019-04-04 17:16:21 +02:00 |
Daniel Hahler
|
5fec793bc7
|
_compare_eq_sequence: display number of extra items
|
2019-04-04 17:16:21 +02:00 |