Code Monkey home page Code Monkey logo

Comments (6)

pupssman avatar pupssman commented on August 18, 2024

Sorry, but I cant undestand what exactly is wrong.
The test gets duplicate story labels? The test gets shown in different features, but it should not?
Could you please be a bit more precise?
Also, providing a minimal working example could greatly help -- so we can reproduce the issue locally.

from allure-pytest.

tarvitz avatar tarvitz commented on August 18, 2024

Yep a little bit later (i hope it would be today) i'd give full example what have I found pretty weird with python project.
Now I can just say that stories accumulating in features they should be in. For example if i have 40 features with only one mixin which runs configurable test agains testcase i would get 40 strories (test_unique_id) and these 40 strories would have each 40 tests for their features.

I hope my full example will provide more help than just raw problem description.

from allure-pytest.

tarvitz avatar tarvitz commented on August 18, 2024

demo:
https://github.com/tarvitz/python-allure-demo

its result:
http://178.79.168.130/#/features

from allure-pytest.

pupssman avatar pupssman commented on August 18, 2024

Ehm. Can you post the generated XML for those reports?
Also, the metaclass used has some non-trivial implementation, which makes it harder to see the possible real problem. Do you can reproduce similar behaviour via plain-old pytest?

from allure-pytest.

tarvitz avatar tarvitz commented on August 18, 2024

http://178.79.168.130/allure/
Metaclassed TestCases (TestCaseExtended) could be skipped in this demo just because the bug works and represents himself fine with test case Mixins.

I wrote them to see how modified test cases which has fully independeble bases and test_* methods would work with this bug :)

from allure-pytest.

sseliverstov avatar sseliverstov commented on August 18, 2024

UTR for 2.x

from allure-pytest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.