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
where children are test_a and test_b - I'd expect only test_b should be among children. Sorry hardly understand allure models. (ps: start/stop removed for a focused view.)
Long thinking on it, I asume there might be reason why each test shows e.g. "module" or "session" setup/teardown fixture. Would be nice if it can be visually clear "shared" parents.
What is the expected behavior?
Nodes/containers do not have nodes that do not belong.
What is the motivation / use case for changing the behavior?
Bug. This is very confusing. And making think that unconditionally skipped test somehow executed fixtures
I spent couple hours in prod environment checking "why do I see it", while provided steps above - explained anomaly.
For a heavy setup/tear down, visual feedback for "children" a bit confusing.
A bit offtopic...
pytest execution protocol:
- module fixture - setup
- class fixture - setup
- test fixture - setup
- test_foo
- test fixture - teardown
- test fixture - setup
- test_baz
- test fixture - teardown
- class fixture - teardown
- module fixture - teardown
in allure report shared "class", "module", "package", "session" are shown with each test... and it seems from this issue "function" sometimes too. Nice to have visual indication of shared nodes. Glamour-allure tries to do it (here) but I cannot aford more dependencies and nice if it can be considered "from the box". I'd really like to try to understand is this Item was the first and started "higher-scope" fixtures, or it is just "reported here" (a pointer :) ).
Please tell us about your environment:
Allure version: 2.26 or 2.27 (tried both from https://github.com/TobiX/allure-cli via sh script docker run --rm -v $PWD:/work -it tobix/allure-cli $@)
I'm submitting a ...
What is the current behavior?
Skip Tests are reported like they had actions/steps.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Generate report for with
-s
:Observation:
I assume the bug is in
allure python
due towhere
children
aretest_a
andtest_b
- I'd expect only test_b should be among children. Sorry hardly understand allure models. (ps: start/stop removed for a focused view.)Long thinking on it, I asume there might be reason why each test shows e.g. "module" or "session" setup/teardown fixture. Would be nice if it can be visually clear "shared" parents.
What is the expected behavior?
Nodes/containers do not have nodes that do not belong.
What is the motivation / use case for changing the behavior?
Bug. This is very confusing. And making think that unconditionally skipped test somehow executed fixtures
I spent couple hours in prod environment checking "why do I see it", while provided steps above - explained anomaly.
For a heavy setup/tear down, visual feedback for "children" a bit confusing.
A bit offtopic...
in allure report shared "class", "module", "package", "session" are shown with each test... and it seems from this issue "function" sometimes too. Nice to have visual indication of shared nodes. Glamour-allure tries to do it (here) but I cannot aford more dependencies and nice if it can be considered "from the box". I'd really like to try to understand is this
Item
was the first and started "higher-scope" fixtures, or it is just "reported here" (a pointer :) ).Please tell us about your environment:
docker run --rm -v $PWD:/work -it tobix/allure-cli $@
)Other information
The text was updated successfully, but these errors were encountered: