session-scope fixtures aren't honored
See original GitHub issueSimilar to what happens with pytest-xdist
: https://github.com/pytest-dev/pytest-xdist/issues/271
Issue Analytics
- State:
- Created 5 years ago
- Reactions:12
- Comments:5
Top Results From Across the Web
Session-Scoped Fixtures are not Session-Scoped with Pytest ...
The problem is that my Tests are depending on a big fixture setup ... session-scope fixtures aren't honored kevlened/pytest-parallel#26.
Read more >pytest-parallel not honouring module-scope fixtures
So this means that the module-scope is not being honoured in pytest-parallel. It is trying to execute the get_some_binary_file for every ...
Read more >HTTP session problems - IBM
HTTP sessions are not getting created, or are lost between requests ... Internet Explorer honors the domain with or without a dot.
Read more >Testing - Spring
Within our sessionScope() test method, we set up our test fixture by setting the expected theme attribute in the provided MockHttpSession .
Read more >pytest Documentation - Read the Docs
Tests and fixtures aren't limited to requesting a single fixture at ... on a session scope: it is fine for fixtures to use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is somehow expected in multiprocess operation mode (workers>1), but in thread mode (tests-per-worker>1) scopes “module” and “session” should be honored - the fixture should be shared.
Any news on this? I can confirm session fixtures are not honoured even in single-worker (multi-threaded) mode