Daniel Hahler
c081c01eb1
minor: s/no covers/no cover/
2019-05-14 06:51:49 +02:00
Daniel Hahler
f8e1d58e8f
minor: settrace != set_trace
2019-05-14 06:51:30 +02:00
Daniel Hahler
0b8b006db4
minor: improve formatting
2019-05-09 15:36:49 +02:00
Daniel Hahler
73b74c74c9
pdb: only use outcomes.exit via do_quit
...
Fixes https://github.com/pytest-dev/pytest/issues/5235 .
2019-05-09 14:55:55 +02:00
Daniel Hahler
5eeb5ee960
Merge pull request #5013 from blueyed/short-summary-message
...
Display message from reprcrash in short test summary
2019-05-08 22:01:04 +02:00
Daniel Hahler
ed2b715f4c
Merge pull request #5227 from Pulkit07/issue5214
...
logging: improve default logging format (issue5214)
2019-05-08 21:51:54 +02:00
Pulkit Goyal
7e08e09473
logging: improve default logging format (issue5214)
...
We improve the following things in the logging format:
* Show module name instead of just the filename
* show level of logging as the first thing
* show lineno attached to module:file details
Thanks to @blueyed who suggested this on the github issue.
It's my first contribution and I have added myself to AUTHORS.
I also added to a changelog file.
2019-05-08 21:37:59 +03:00
Bruno Oliveira
2051e30b9b
Show fixture scopes with ``--fixtures``, except for "function" scope ( #5221 )
...
Show fixture scopes with ``--fixtures``, except for "function" scope
2019-05-07 19:50:53 -03:00
Bruno Oliveira
f339147d12
Add CHANGELOG entry about depending on wcwidth
2019-05-07 19:34:57 -03:00
Bruno Oliveira
c04767f946
Use msg.rstrip() as suggested in review
2019-05-07 15:20:00 -03:00
Bruno Oliveira
6d040370ed
Show fixture scopes with ``--fixtures``, except for "function" scope
...
Fix #5220
2019-05-07 14:32:20 -03:00
Bruno Oliveira
4a2fdce62b
Emit a warning for record_property when used with xunit2 ( #5204 )
...
Emit a warning for record_property when used with xunit2
2019-05-05 21:33:31 -03:00
Bruno Oliveira
32a5e80a6d
Add encoding: header and fix rep mock in test_line_with_reprcrash on py27
2019-05-05 09:33:37 -03:00
Bruno Oliveira
0e8a8f94f6
Add encoding header to test_terminal.py
2019-05-05 09:14:07 -03:00
Bruno Oliveira
8f23e19bcb
Emit a warning for record_property when used with xunit2
...
"property" elements cannot be children of "testsuite" according to the schema, so it is incompatible with xunit2
Related to #5202
2019-05-05 09:01:13 -03:00
Daniel Hahler
f5c1f3df71
Merge pull request #5210 from nicoddemus/merge-master-into-features
...
Merge master into features
2019-05-05 08:02:06 +02:00
Bruno Oliveira
9f66102869
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2019-05-04 10:47:57 -03:00
Bruno Oliveira
e1a426c067
Unify pypy ( #5209 )
...
Unify pypy
2019-05-04 10:46:14 -03:00
Bruno Oliveira
2bd97ebaf7
Use 'pypy' as executable on PyPy env [skip travis]
2019-05-04 10:27:06 -03:00
Bruno Oliveira
45eeb53c98
Fix a typo ( #5207 )
...
Fix a typo
2019-05-04 10:04:50 -03:00
Don Kirkby
254b195f50
Fix a typo
2019-05-03 22:30:20 -07:00
Daniel Hahler
865e84d206
Merge pull request #5109 from blueyed/summary_passes-green
...
summary_passes: use bold green for report headers
2019-05-04 00:46:23 +02:00
Bruno Oliveira
1c13418a8b
doc: fix hooks 'path' parameter doc type ( #5198 )
...
doc: fix hooks 'path' parameter doc type
2019-05-02 21:05:07 -03:00
DamianSkrzypczak
299e6479c1
add DamianSkrzypczak to AUTHORS
2019-05-02 23:45:34 +02:00
DamianSkrzypczak
6e81c3df92
add changelog for issue #5171 fixes
2019-05-02 21:30:03 +02:00
DamianSkrzypczak
1bd7d287a7
doc: fix hooks 'path' parameter doc type
...
by changing it from str to py.path.local
(#5171 )
2019-05-02 20:51:11 +02:00
Anthony Sottile
b82e1b87cc
Merge pull request #5195 from nicoddemus/pytest-config-docs
...
Add quick note about accessing config through session or item objects
2019-05-02 09:52:42 -07:00
Bruno Oliveira
af40473c9a
Add quick note about accessing config through session or item objects
...
Fix #5030
2019-05-01 11:46:35 -03:00
Bruno Oliveira
f17b734989
Improve help for --runxfail flag ( #5188 )
...
Improve help for --runxfail flag
2019-05-01 11:00:31 -03:00
Allan Lewis
f050203f5d
Improve help for --runxfail flag
...
The help for the '--runxfail' flag is somewhat misleading. The default
behaviour is to run tests marked as 'xfail' but to ignore the results. This
flag alters that behaviour by running these tests as if they weren't marked
'xfail', i.e. their results are not ignored.
2019-05-01 10:04:32 +01:00
Bruno Oliveira
3f5622c577
Use config_invocation_dir for startdirs ( #5151 )
...
Use config_invocation_dir for startdirs
2019-04-29 18:14:51 -03:00
Bruno Oliveira
1fb3f63f35
debugging: rename internal wrapper for pdb.Pdb ( #5186 )
...
debugging: rename internal wrapper for pdb.Pdb
2019-04-29 18:03:32 -03:00
Bruno Oliveira
fc2ad1dbed
Warning subclasses ( #5179 )
...
Warning subclasses
2019-04-29 17:57:49 -03:00
Matt Cooper
bc6450773a
remove PyPy special casing
2019-04-29 08:39:48 -04:00
Bruno Oliveira
204004c8b8
Review doctest docs ( #5183 )
...
Review doctest docs
2019-04-29 08:02:59 -03:00
Bruno Oliveira
772a4a5cf3
Remove all version references to obsolete pytest versions ( #5184 )
...
Remove all version references to obsolete pytest versions
2019-04-29 08:02:32 -03:00
Bruno Oliveira
fb6dad60a0
terminal: use pytest_collection_finish for reporting ( #5113 )
...
terminal: use pytest_collection_finish for reporting
2019-04-29 08:00:48 -03:00
Bruno Oliveira
d9cad1e759
Merge pull request #5176 from nicoddemus/initial-conftests-note
...
Add note about pytest_load_initial_conftests working only from plugins
2019-04-29 07:59:27 -03:00
Daniel Hahler
02053bf556
debugging: rename internal wrapper for pdb.Pdb
...
This is useful/clearer in case of errors / tracebacks - i.e. you see
clearly that it is coming from pytest.
2019-04-29 05:46:21 +02:00
Anthony Sottile
6fb3baf071
Merge pull request #5182 from nicoddemus/removed-unused-deprecation-msgs
...
Removed unused warning message
2019-04-28 20:26:11 -07:00
Daniel Hahler
ff5317a7f3
terminal: use pytest_collection_finish for reporting
2019-04-29 05:20:04 +02:00
Bruno Oliveira
766fc23151
Merge pull request #5185 from nicoddemus/lf-skip-files
...
--lf now skips colletion of files without failed tests
2019-04-28 21:48:53 -03:00
Bruno Oliveira
08734bdd18
--lf now skips colletion of files without failed tests
...
Fix #5172
2019-04-28 20:23:46 -03:00
Bruno Oliveira
e943aff995
Update blurb about Sybil
2019-04-28 20:01:22 -03:00
Bruno Oliveira
9c5da9c0d1
Remove all version references to obsolete pytest versions
...
Remove version references to pytest 2 and 3.
Just like Python 3 no longer has references to Python 2, I think
we should follow the same approach in pytest.
2019-04-28 12:37:58 -03:00
Bruno Oliveira
f6ab6d71ad
Run regendoc
2019-04-28 12:17:15 -03:00
Bruno Oliveira
67755d67fb
Review doctest docs
...
* Add pytest.skip() example
* Add blurb about Sybil
* Create a subsection for doctest-options
* Create a subsection for pytest-specific features
2019-04-28 12:17:15 -03:00
Bruno Oliveira
a3c2ec3c5b
Add CHANGELOG for #5182
2019-04-28 11:10:21 -03:00
Bruno Oliveira
9742f11d37
Removed unused warning message
2019-04-28 11:06:47 -03:00
Bruno Oliveira
915ecb0dac
Add CHANGELOG for #5177
2019-04-28 10:47:19 -03:00