Thomas Hisch
|
57f66a455a
|
catching_logs: Remove unused 'filter' kwarg
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
e41fd52e8c
|
Introduce live_logs context manager
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
08f6b5f4ea
|
Use pytest.hookimpl instead of pytest.mark.hookwrapper
pytest.mark.hookwrapper seems to be used nowhere in the _pytest package.
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
d13e17cf51
|
Don't modify the 'config' object in __init__
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
f1f6109255
|
Remove _catchlog_ prefix
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
87b8dc5afb
|
Move 'config' handling from pytest_configure to __init__
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
fc965c1dc5
|
Remove outdated docstring
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
a1bd54e4ea
|
Clean-up LogCaptureHandler
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
36cceeb10e
|
Set type of log_print ini-variable to 'bool'
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
98209e92ee
|
Remove superfluous whitespace in docstring
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
1bea7e6985
|
Cleanup pytest_addoption
|
2017-09-22 22:27:50 +02:00 |
Thomas Hisch
|
6607478b23
|
Add unittests for LoggingPlugin (excluding perf tests)
|
2017-09-22 22:27:49 +02:00 |
Thomas Hisch
|
8eafbd05ca
|
Merge the pytest-catchlog plugin
|
2017-09-22 22:27:49 +02:00 |
Bruno Oliveira
|
9273e11f21
|
Merge branch 'master' into features
|
2017-09-07 13:59:10 -03:00 |
Ronny Pfannschmidt
|
6967f3070e
|
Merge pull request #2711 from massich/mimic_raises_signature_in_warns
[MRG][feature] Change warns signature to mimic the raises call
|
2017-09-07 13:19:09 +02:00 |
Joan Massich
|
80d165475b
|
Add documentation
|
2017-09-07 10:28:52 +02:00 |
Joan Massich
|
aa6a67044f
|
Add match_regex functionality to warns
|
2017-09-07 09:58:03 +02:00 |
Bruno Oliveira
|
d01f08e96f
|
Merge branch 'features' into pluggy-master
|
2017-09-06 13:13:35 -03:00 |
Ronny Pfannschmidt
|
ad36407747
|
Merge pull request #2700 from nicoddemus/staticmethods-fixtures
Allow tests declared as @staticmethod to use fixtures
|
2017-09-06 08:24:00 +02:00 |
Bruno Oliveira
|
e1f2254fc2
|
Merge pull request #2734 from RonnyPfannschmidt/simplify-string-safening
simplyfy ascii escaping by using backslashreplace error handling
|
2017-09-05 21:14:27 -03:00 |
Bruno Oliveira
|
f825b4979b
|
Merge remote-tracking branch 'upstream/master' into features
|
2017-09-05 19:44:33 -03:00 |
Bruno Oliveira
|
1fc185b640
|
Add comment about possible future refactoring in the fixture mechanism
|
2017-09-05 19:28:39 -03:00 |
Tarcisio Fischer
|
8d1903fed3
|
Avoid creating arbitrary filenames for tmpdir on Testdir's constructor
Fixes #2751
|
2017-09-05 15:22:04 -03:00 |
Ronny Pfannschmidt
|
13eac944ae
|
restore ascii escaping for python 3.3/3.4
|
2017-09-04 21:25:46 +02:00 |
Bruno Oliveira
|
3dc0da9339
|
Remove __multicall__ warning and usages in testing
pluggy>=0.5 already warns about those
|
2017-09-01 18:53:06 -03:00 |
Ronny Pfannschmidt
|
181bd60bf9
|
Merge pull request #2742 from nicoddemus/resultlog-deprecation
Improve user guidance regarding ``--resultlog`` deprecation
|
2017-09-01 08:29:41 +02:00 |
Bruno Oliveira
|
3288c9a110
|
Improve user guidance regarding ``--resultlog`` deprecation
Fix #2739
|
2017-08-31 19:11:41 -03:00 |
Bruno Oliveira
|
221797c609
|
Encode utf-8 byte strings in pytester's makefile
Fix #2738
|
2017-08-31 18:49:06 -03:00 |
Ronny Pfannschmidt
|
5e00549ecc
|
Merge pull request #2735 from fgmacedo/fgm-fix-reprfuncargs-toterminal
2731.bug Fix ReprFuncArgs with mixed unicode and utf-8 args.
|
2017-08-31 09:36:56 +02:00 |
Fernando Macedo
|
59cdef92be
|
fixes #2731 ReprFuncArgs with mixed unicode and utf-8 args
|
2017-08-30 16:06:12 -03:00 |
Ronny Pfannschmidt
|
78a027e128
|
simplyfy ascii escaping by using backslashreplace error handling
|
2017-08-30 16:43:16 +02:00 |
Tyler Goodlet
|
ff35c17ecf
|
Drop wrapper module; import directly
|
2017-08-25 11:46:55 -04:00 |
Tyler Goodlet
|
9ab83083d1
|
Update docs
|
2017-08-24 16:53:37 -04:00 |
Tyler Goodlet
|
333a9ad7fa
|
Stop vendoring pluggy
Resolves #2716
|
2017-08-24 15:54:33 -04:00 |
Kirill Pinchuk
|
12b1bff6c5
|
`compat.safe_getattr` now catches OutcomeExceptions too
|
2017-08-23 17:17:03 +03:00 |
Bruno Oliveira
|
a993add783
|
Allow tests declared as @staticmethod to use fixtures
Fix #2699
|
2017-08-17 20:44:19 -03:00 |
Bruno Oliveira
|
f18780ed8a
|
Update docs: ``match`` keyword was introduced in 3.1
Also update the text to recommend using the context-manager
over the callable/string forms.
|
2017-08-16 14:28:34 -03:00 |
Ronny Pfannschmidt
|
5c0feb2877
|
Merge pull request #2680 from prokaktus/skipping-same-module
Fold skipped tests with global pytestmark variable
|
2017-08-15 10:52:24 +02:00 |
prokaktus
|
98bf5fc9be
|
Fold skipped tests with global pytestmark variable
|
2017-08-15 02:18:46 +03:00 |
Andreas Pelme
|
39331856ed
|
Use the correct stacklevel for getfuncargvalue() deprecation warning.
Fixed #2681.
|
2017-08-13 14:59:33 +02:00 |
Ronny Pfannschmidt
|
eb462582af
|
fix #2675 - store marks correctly in callspecs
|
2017-08-10 19:46:36 +02:00 |
Bruno Oliveira
|
cc0f2473eb
|
Fix windows console workaround error with non-standard io-streams
Fix #2666
|
2017-08-07 20:57:13 -03:00 |
Srinivas Reddy Thatiparthy
|
a0101f024e
|
remove os.sep as it behaves differently linux and windows.
* on linux it is '/'
* on windows it is '\'
|
2017-08-05 23:21:43 +05:30 |
Ronny Pfannschmidt
|
9e62a31b63
|
Merge pull request #2650 from srinivasreddy/2642
Fixed#2642: Convert py module references to six module
|
2017-08-04 09:21:51 +02:00 |
Srinivas Reddy Thatiparthy
|
dc563e4954
|
convert py module references to six module
|
2017-08-04 08:05:03 +05:30 |
Bruno Oliveira
|
ad52f714a9
|
Fix small terminal glitch when collecting a single test item
Fix #2579
|
2017-08-03 20:57:46 -03:00 |
Bruno Oliveira
|
7703dc921c
|
Only skip null bytes before setting the environment variable
As discussed, node ids have already been "ascii" sanitized by the
parametrization process
|
2017-08-02 10:27:45 -03:00 |
Bruno Oliveira
|
1deac2e210
|
Properly escape test names when setting PYTEST_CURRENT_TEST environment variable
Fix #2644
|
2017-08-01 20:52:37 -03:00 |
Ronny Pfannschmidt
|
6e7547244b
|
Merge pull request #2636 from RonnyPfannschmidt/remove-preinit
remove preinit, its no longer needed
|
2017-08-01 05:22:41 +02:00 |
Bruno Oliveira
|
8a2e6a8d51
|
Fix linting
|
2017-07-31 16:49:30 -03:00 |