Giter VIP home page Giter VIP logo

Comments (6)

onsi avatar onsi commented on May 27, 2024 1

alright - this is now on master. i'll be cutting a release soon. you can now set Label(owner:X) and X will get set to the Owner attribute of the test case. if you could give it a try and make sure it works for you end-to-end on azure devops that would be great.

from ginkgo.

onsi avatar onsi commented on May 27, 2024

Are there other usecases? or is this a request for adding an Owner decorator for junit? my hesitation is it would then be natural to want to filter specs by key:value pairs. or by specs with key Y with value X but not key Z. all to say that it would naturally expand the scope of the filtering language which i’d prefer not to do….

from ginkgo.

nonsocode avatar nonsocode commented on May 27, 2024

Yes the main use case is for the Owner attribute. We have a large codebase owned my multiple different teams. It would be great if the owner attribute is present on specs so it's easy to identify who owns a spec. The owner attribute is natively supported in Azure devops pipelines as seen here

from ginkgo.

onsi avatar onsi commented on May 27, 2024

great, thanks @nonsocode . I could imagine that after adding an Owner decorator there will quickly be requests for implementing filtering specs by Owner. One idea that comes to mind is to teach the JUnit reporter to look for special labels and interpret them. So, for example, the first label matching Label(“owner:.*”) could be detected by the reporter and interpreted as the owner for the spec. I think i’d be up for that and documenting it as a feature of the junit reporter. This way the existing filtering mechanisms would still apply. WDYT?

from ginkgo.

nonsocode avatar nonsocode commented on May 27, 2024

Yes I think that's a great alternative. I'm happy with this idea

from ginkgo.

nonsocode avatar nonsocode commented on May 27, 2024

This works great. Thank you

from ginkgo.

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.