Commit Graph

7707 Commits

Author SHA1 Message Date
turturica 2b1410895e Add package scoped fixtures #2283 2018-04-11 15:39:42 -07:00
Ronny Pfannschmidt 372bcdba0c
Merge pull request #3380 from nicoddemus/marks-fixes
Add the list of issues fixed by the new marker implementation to the docs
2018-04-10 14:33:58 +02:00
Bruno Oliveira d1ba19acad Add the list of issues fixed by the new marker implementation to the docs
This will help make users more understanding if their code breaks under the
new implementation.
2018-04-10 08:00:32 -03:00
Ronny Pfannschmidt 2241c98b18
Merge pull request #3331 from tonybaloney/breakpoint_support
Support for the new builtin breakpoint function in Python 3.7
2018-04-10 07:15:29 +02:00
Bruno Oliveira 715337011b
Merge pull request #3317 from RonnyPfannschmidt/marker-pristine-node-storage
introduce a distinct searchable non-broken storage for markers
2018-04-09 19:40:12 -03:00
Ronny Pfannschmidt 4df8f2b153 fix doc build, use noindex on the mark reference 2018-04-06 08:13:28 +02:00
Bruno Oliveira e534cc81a3
Fix typos in docs 2018-04-05 14:45:30 -03:00
Ronny Pfannschmidt 3582e1f6be include more detail on the marker api issues 2018-04-05 18:46:33 +02:00
Ronny Pfannschmidt a8ad89cdb3 fix documentation references 2018-04-05 18:39:57 +02:00
Bruno Oliveira 48bcc3419f
Reword the docs on markers a bit 2018-04-05 12:39:21 -03:00
Ronny Pfannschmidt 1fcadeb2ce extend marker docs with reasons on marker iteration 2018-04-05 15:30:31 +02:00
Bruno Oliveira 0762666bd1
Remove unused pytestPDB import 2018-04-03 08:58:40 -03:00
Anthony Shaw 4d847593b3
remove a test that would fail because pytest is being used to test itself 2018-04-03 10:40:56 +10:00
Ronny Pfannschmidt a2974dd067 fix doc building 2018-03-30 16:48:27 +02:00
Ronny Pfannschmidt 7454a381e2 update configuration examples to new mark api 2018-03-30 08:36:58 +02:00
Ronny Pfannschmidt e4a52c1795 prevent doubleing of function level marks 2018-03-30 08:19:45 +02:00
Ronny Pfannschmidt 802da781c6 fix method reference to iter_markers in warning 2018-03-30 07:50:12 +02:00
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
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
Anthony Shaw 09e5a226dc
add broken test 2018-03-29 09:03:20 +11: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
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