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
@delatrie I was going to open a PR to solve this but when I looked at the python code it looked auto-generated, and I wasn't sure that my changes would be valuable. If you can point me in the right direction I may be able to close this one out. This thing is still bugging me.
Implementations that I can think of is making a verbose mode for the allure context manager, having an environment variable that turns on verbosity, or exposing the step title as an object in the context manager.
I heard today that we are going to be moving away from allure, so priority for me to complete this work has disappeared. I still think it's worth doing though because I assume at least some other folks are running into the same issue, but I am not going to have time to do it.
It's fine with me if this issue is closed as "not planned"
Activity
danielhoherd commentedon Aug 4, 2025
@delatrie I was going to open a PR to solve this but when I looked at the python code it looked auto-generated, and I wasn't sure that my changes would be valuable. If you can point me in the right direction I may be able to close this one out. This thing is still bugging me.
Implementations that I can think of is making a verbose mode for the allure context manager, having an environment variable that turns on verbosity, or exposing the step title as an object in the context manager.
delatrie commentedon Aug 4, 2025
Hi, @danielhoherd
Thanks for your willingness to contribute to allure-python.
There is no generated code here (although some of it is quite old).
If I understand your feature request correctly, the implementation is just a matter of returning the value from
__enter__here:allure-python/allure-python-commons/src/allure_commons/_allure.py
Lines 188 to 189 in ab14314
That would be a backward-compatible change, so no feature flag is required.
danielhoherd commentedon Aug 11, 2025
I heard today that we are going to be moving away from allure, so priority for me to complete this work has disappeared. I still think it's worth doing though because I assume at least some other folks are running into the same issue, but I am not going to have time to do it.
It's fine with me if this issue is closed as "not planned"