Comments (5)
Fixture issue is related to #9 and #11, it's been a few years so it might be worthwhile to re-evaluate whether it'd be possible to inject fixtures into describe blocks (perhaps limited to class-scope fixtures?)
from pytest-describe.
@b0g3r are you able to reproduce this with the unreleased version in the master
branch?
from pytest-describe.
Not OP but can confirm the _memoizedcall
error is gone on master for me (python 3.8.2, pytest 6.1.2). The example above still fails because the fixture isn't injected into the describe block, which I can reproduce on pytest 5.4.3 as well, although that may be a different issue.
from pytest-describe.
Oops, my bad, my intuition told me that it should work like this 🙇♂️
from pytest-describe.
This should be fixed in 2.0. The fixture issue is now covered in #38. Any help with that one is appreciated.
from pytest-describe.
Related Issues (20)
- funcargs on describe functions HOT 2
- Shared behaviours HOT 5
- Shared behavior should have a recursive partial override behavior HOT 5
- Nicer test output? HOT 3
- Support pytest version >= 4.1 HOT 8
- Persistent data among tests with django and pytest HOT 1
- Support pytest version >= 4.5 HOT 1
- Stacking `@pytest.mark.parametrize` does not work HOT 2
- PytestDeprecationWarning regarding DescribeBlock with pytest 5.4 HOT 16
- Create a changelog HOT 1
- Transfer repository to pytest-dev HOT 8
- Roadmap for version 1 and 2 HOT 13
- Describe plugin does not handle parameters when names are not specified as str HOT 1
- Marker "inheritance" not consistent with pytest behaviour HOT 1
- Fixtures as describe arguments HOT 2
- [enhancement] use a DocString to enhance the test report description
- Pycharm support HOT 4
- Test suite requires `py` package HOT 2
- DescribeBlocks not supported out of the box in VSCode Testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytest-describe.