Code Monkey home page Code Monkey logo

Comments (8)

sseliverstov avatar sseliverstov commented on September 28, 2024

Its already implemented for allure2 https://github.com/allure-framework/allure-python

from allure-pytest.

PhilippPeople10 avatar PhilippPeople10 commented on September 28, 2024

sseliverstov, could you please explain how can I change the values?
I currently use version 2.5.0., but I can not figure out how to do it.

from allure-pytest.

sseliverstov avatar sseliverstov commented on September 28, 2024

At first you need migrate on new pytest plugin:

  1. deinstall pytest-allure-adaptor
  2. install allure-pytest

And then you just decorate yours test with @allure.title("another test name")

from allure-pytest.

PhilippPeople10 avatar PhilippPeople10 commented on September 28, 2024

Thank you, but there is a question:
I am using following decorators structure:
image

@allure.title("another test name") related to the test suits? or to the test case?
It seems like related to the test case.
image

What decorator is related to the test suits?

from allure-pytest.

sseliverstov avatar sseliverstov commented on September 28, 2024

No way, but on some next releases allure-framework/allure-python#197

from allure-pytest.

sseliverstov avatar sseliverstov commented on September 28, 2024

also it's better to use @allure.title for tests

@allure.title("... incorrect credentials")
def test(...):
    ...

from allure-pytest.

PhilippPeople10 avatar PhilippPeople10 commented on September 28, 2024

sseliverstov, thank you.
It really helps.

from allure-pytest.

sseliverstov avatar sseliverstov commented on September 28, 2024

will be fixed in 2.x allure-framework/allure-python#46

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.