Ronny Pfannschmidt
|
dbb1b5a227
|
remove NodeMarkers, turn own_markers into a list and use iter_markers api exclusively
|
2018-03-29 18:24:10 +02:00 |
Ronny Pfannschmidt
|
8805036fd8
|
add node iteration apis
TODO: add tests
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
ee51fa5881
|
add api to iterate over all marerks of a node
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
2cb7e725ce
|
document the hack used to avoid duplicate markers due Instance collectors
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
02315c0489
|
remove unnecessary of in the code figuring the fixture names
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
a92a51b01b
|
clarify find_markers return value
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
159ea9b7c0
|
turn Markinfo into atts clsas, and return correct instances of it from node.get_marker
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
775fb96ac3
|
first changelog entry
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
ced1316bc8
|
add docstrings for nodemarkers
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
5e56e9b4f6
|
refactor node markers, remove need to be aware of nodes
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
2d06ae0f65
|
base metafunc fixtureinfo on the functiondefinition to caputure its marks
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
99015bfc86
|
fix most of metafunc tests by mocking
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
180ae09202
|
deprecate markinfo and fix up most marker scoping access while completely breaking metafunc testing
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
e8feee0612
|
fix up the mark evaluator validity check
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
f1a1695aaa
|
enable deep merging test - new structure fixed it
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
2707221559
|
port mark evaluation to the new storage and fix a bug in evaluation
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
360d608da4
|
introduce a own storage for markers
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
f1c9efc358
|
Merge pull request #3353 from nicoddemus/fixture-param-marks-docs
Add docs about using pytest.param in parametrized fixtures
|
2018-03-29 10:57:28 +02:00 |
Bruno Oliveira
|
804392e5f2
|
Fix tests that check that breakpoint function is configured/restored
* Execute pytest in a subprocess in cases of tests which change global
state
* Parametrize with --pdb and without the flag
|
2018-03-28 20:19:28 -03:00 |
Bruno Oliveira
|
0a3cd881f6
|
Add docs about using pytest.param in parametrized fixtures
|
2018-03-28 19:35:10 -03:00 |
Anthony Shaw
|
09e5a226dc
|
add broken test
|
2018-03-29 09:03:20 +11:00 |
Ronny Pfannschmidt
|
2efaf39ed8
|
Merge pull request #3349 from jeffreyrack/3348-unknown-argument
3348: raise error on unknown arguments to raises
|
2018-03-28 21:45:59 +02:00 |
Bruno Oliveira
|
7656581302
|
Update changelog formatting
|
2018-03-28 07:31:26 -03:00 |
Bruno Oliveira
|
bfe773bfc8
|
Use shorter 'if kwargs' check as requested during review
|
2018-03-28 07:30:14 -03:00 |
Jeffrey Rackauckas
|
a5d9fbe2b0
|
Change pytest.raises to use match instead of matches
|
2018-03-27 20:24:15 -07:00 |
Jeffrey Rackauckas
|
34afded06d
|
Update pytest.raises to raise a TypeError when an invalid keyword argument is passed.
|
2018-03-27 19:57:15 -07:00 |
Anthony Shaw
|
3998b70ff6
|
add test for custom environment variable
|
2018-03-28 09:02:37 +11:00 |
Bruno Oliveira
|
060f047a7e
|
Use full link in CHANGELOG
Our rst-linter unfortunately doesn't accept `ref` directives in the CHANGELOG files
|
2018-03-27 18:35:47 -03:00 |
Bruno Oliveira
|
2962c7367c
|
Merge pull request #3307 from KKoukiou/rhv-qe-fix
logging.py: Don't change log level of the root logger to bigger numeric value
|
2018-03-27 18:03:22 -03:00 |
Bruno Oliveira
|
0a4200bbb3
|
Improve docs formatting
|
2018-03-27 07:40:52 -03:00 |
Anthony Shaw
|
b45006e9a3
|
fix syntax
|
2018-03-27 21:26:55 +11:00 |
Anthony Shaw
|
671ab5a36c
|
update documentation for new feature
|
2018-03-27 21:02:43 +11:00 |
Anthony Shaw
|
f1f4c8c104
|
updates for code review recommendations
|
2018-03-27 17:38:17 +11:00 |
Bruno Oliveira
|
6cfed00a61
|
Tweak changelog entry
|
2018-03-26 20:48:05 -03:00 |
Bruno Oliveira
|
ff3d13ed0e
|
Update typo in fixture.rst
|
2018-03-26 11:20:33 -03:00 |
Katerina Koukiou
|
d895f5d6fc
|
logging.py: Don't change log level of the root logger to bigger numeric value
|
2018-03-26 10:11:49 +02:00 |
Anthony Shaw
|
e97bd87ee2
|
fix assertion when hypothesis is installed (which is should be for developing in pytest)
|
2018-03-23 16:24:15 +11:00 |
Anthony Shaw
|
242fb7852b
|
linting and removed double test
|
2018-03-23 15:39:34 +11:00 |
Anthony Shaw
|
1ec99132e6
|
add myself to authors
|
2018-03-23 15:31:57 +11:00 |
Anthony Shaw
|
dcbba381d4
|
add changelog entry
|
2018-03-23 15:31:16 +11:00 |
Anthony Shaw
|
db581eabcb
|
add tests to validate that --pdbcls custom debugger classes will be called when breakpoint() is used
|
2018-03-23 15:30:05 +11:00 |
Anthony Shaw
|
0e83e4f292
|
conditional for resetting of sys.breakpointhook for cleanup where breakpoint() not supported
|
2018-03-23 14:26:16 +11:00 |
Anthony Shaw
|
21ada0fa23
|
add check for support of breakpoint() and use Custom Pdb class when system default is set
|
2018-03-23 14:20:10 +11:00 |
Anthony Shaw
|
a1ff758d0d
|
"Added acceptance tests for configuration of sys.breakpointhook and resetting back when system default (pdb) is used""
|
2018-03-23 14:18:56 +11:00 |
Bruno Oliveira
|
ed118d7f20
|
Merge remote-tracking branch 'upstream/features'
|
2018-03-22 21:06:09 -03:00 |
Bruno Oliveira
|
5ecff65285
|
Merge pull request #3327 from nicoddemus/release-3.5.0
Release 3.5.0
|
2018-03-22 20:58:15 -03:00 |
Ronny Pfannschmidt
|
fc4f769888
|
Merge pull request #3336 from nicoddemus/filter-warnings-ref-doc
Add missing reference doc for filterwarnings mark
|
2018-03-22 18:43:17 +01:00 |
Bruno Oliveira
|
f78953fd81
|
Add missing reference doc for filterwarnings mark
|
2018-03-22 13:02:30 -03:00 |
Ronny Pfannschmidt
|
d7d4afea17
|
Merge pull request #3330 from nicoddemus/remove-custom-flatten
Remove terminal.flatten function in favor of collapse from more_itertools
|
2018-03-22 14:22:47 +01:00 |
Anthony Shaw
|
5a53b9aabb
|
move tests to test_pdb
|
2018-03-22 20:40:35 +11:00 |