You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: Jurko Gospodnetić (BitBucket: jurko, GitHub: jurko)
When pytest is called with the '--markers' option, it does not seem to collect
marker information from plugins in subdirs on time. They get loaded and used
correctly for the actual test run, but --markers output does not include
information on them.
Pull request #104 includes a prepared unit test reproducing and testing for this behaviour.
I noticed this on the suds-jurko package where running the tests using Python 2 shows --markers correctly, while running them using Python 3 (tests get run from a different folder after running py2to3 on the entire source base), locally defined plugin markers are not listed. The plugins themselves still get loaded and used correctly for the actual test run, but that seems to occur only after pytest prepares its --markers output.
Originally reported by: Jurko Gospodnetić (BitBucket: jurko, GitHub: jurko)
When pytest is called with the '--markers' option, it does not seem to collect
marker information from plugins in subdirs on time. They get loaded and used
correctly for the actual test run, but --markers output does not include
information on them.
Pull request #104 includes a prepared unit test reproducing and testing for this behaviour.
I noticed this on the suds-jurko package where running the tests using Python 2 shows --markers correctly, while running them using Python 3 (tests get run from a different folder after running py2to3 on the entire source base), locally defined plugin markers are not listed. The plugins themselves still get loaded and used correctly for the actual test run, but that seems to occur only after pytest prepares its --markers output.
Hope this helps.
Best regards,
Jurko Gospodnetić
The text was updated successfully, but these errors were encountered: