Daniel Hahler
|
b2be6c1a30
|
TestReport: use class name in repr
|
2019-04-15 05:47:45 +02:00 |
|
Daniel Hahler
|
c43a9c83ee
|
doc: pytest_deselected: not only via keywords
|
2019-04-14 23:53:06 +02:00 |
|
Daniel Hahler
|
e804e419bc
|
remove unnecessary newline
|
2019-04-14 23:53:06 +02:00 |
|
Daniel Hahler
|
992e7f7771
|
rename variable
|
2019-04-14 23:53:06 +02:00 |
|
Daniel Hahler
|
bd1a2e6435
|
fix typo
|
2019-04-14 23:53:06 +02:00 |
|
Daniel Hahler
|
1d137fd2fe
|
minor: LFPlugin: de-indent code by returning if not active
|
2019-04-14 23:53:06 +02:00 |
|
Daniel Hahler
|
6f0a5789fb
|
Merge master into features
|
2019-04-14 23:22:21 +02:00 |
|
Daniel Hahler
|
cc78a533ae
|
terminal: summary_errors: replace if with assert
|
2019-04-14 23:17:27 +02:00 |
|
Daniel Hahler
|
fd0b3e2e8b
|
getreportopt: remove needless if
|
2019-04-14 23:17:27 +02:00 |
|
Daniel Hahler
|
f3dbe5a308
|
pytester: listoutcomes: assert instead of implicit if
|
2019-04-14 23:00:38 +02:00 |
|
Daniel Hahler
|
1da8ce65a6
|
pytester: raise_on_kwargs: ignore branch coverage
|
2019-04-14 23:00:38 +02:00 |
|
Daniel Hahler
|
6a73714b00
|
deselect_by_keyword: skip without expression
There is no need to iterate over all items always, if `-k` is not
specified.
|
2019-04-14 19:01:33 +02:00 |
|
Daniel Hahler
|
6371243c10
|
summary_passes: use bold green for report headers
|
2019-04-14 15:21:11 +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 |
|
Bruno Oliveira
|
14d3d9187f
|
Remove partial unicode characters from summary messages in Python 2
|
2019-04-11 19:01:21 -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
|
5d9d12a6be
|
pytester: improve/fix kwargs validation
|
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 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
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
|
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 |
|
Jeffrey Rackauckas
|
da3f836ee3
|
Added the junit_log_passing_tests ini flag.
|
2019-04-04 20:26:48 -07: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 |
|