Coder Social home page Coder Social logo

Comments (12)

dirkrombauts avatar dirkrombauts commented on June 30, 2024 1

I think the same type of functionality that we have with running NUNIT from msbuild:
INCLUDES and EXCLUDES

Some examples:

  • only tags matching “GUI”
  • Only tags matching “DB” and “CI”
  • Exclude tags matching “GUI”
  • Only tags matching “DB” and “CI” except for “GUI”

However, a great start would simply be: "only scenarios with this tag” and "except scenarios with this tag"; more sophisticated boolean logic predicates could come later. However, care should be taken so that adding the more complex expressions later does not break scripts with the simple expressions.

from pickles.

dirkrombauts avatar dirkrombauts commented on June 30, 2024

I'm closing this issue because it has a new home at uservoice: https://pickles.uservoice.com/forums/232147-general/suggestions/5728975-exclude-scenarios-or-features-by-tags

from pickles.

dirkrombauts avatar dirkrombauts commented on June 30, 2024

The community came back with this feature request: https://pickles.uservoice.com/forums/232147-general/suggestions/9796998-support-filtering-by-tags

from pickles.

ngm avatar ngm commented on June 30, 2024

Is this feature in development, or still up for grabs? Was there any spiking done?

I would like this feature very much. (Coming from a slightly different use case: I work on "software product lines", where multiple different versions of a product can be configured from a collection of possible components. I use tags to tag the features and scenarios that apply to each product. So when I produce the docs for a particular customer, I want to only include the features/scenarios that they have included for them.)

from pickles.

dirkrombauts avatar dirkrombauts commented on June 30, 2024

Your scenario makes perfect sense to me :-)

Nobody is working on this at the moment, so please go ahead and take a stab at it.

from pickles.

dlidstrom avatar dlidstrom commented on June 30, 2024

Perhaps it would be useful to have the other option too: IncludeTags (a list of tags to include). That would complete this feature combo, don't you think?

from pickles.

dirkrombauts avatar dirkrombauts commented on June 30, 2024

@dlidstrom the really cool version would be some kind of simple logical language to specify tags to include and exclude. See my 2nd comment in January 2016.

from pickles.

dlidstrom avatar dlidstrom commented on June 30, 2024

@dirkrombauts That looks good, definitely. Some tools allow you to use regular expression for include and exclude statements. I'm not sure how that option would combine with whatever Pickles supports now, but it's easy to implement and usually covers most needs:

  • only tags matching “GUI”: --include "^GUI$"
  • Only tags matching “DB” and “CI”: --include "^DB|CI$"
  • Exclude tags matching “GUI”: --exclude "^GUI$"
  • Only tags matching “DB” and “CI” except for “GUI”: --include "^DB|CI$" --exclude "^GUI$"

from pickles.

dirkrombauts avatar dirkrombauts commented on June 30, 2024

I'll be happy to review any pull requests you may send my way ;-)

from pickles.

dirkrombauts avatar dirkrombauts commented on June 30, 2024

It's been an amazing time for me to work on Pickles. Now it's finally time for me to lay down the mantle and move on. I am leaving Pickles completely.

I am closing this issue, so that the next maintainer of this repository can start from a clean slate.

Do you want to take over active development and maintenance at Pickles? Contact me directly at dirk dot rombauts at picklesdoc dot com. I will hand over everything Pickles-related to you. This email address will remain active until 11 December 2020.

from pickles.

zadigus avatar zadigus commented on June 30, 2024

What's the status on this feature? I'd need it.

from pickles.

ericcmmi avatar ericcmmi commented on June 30, 2024

It is not currently being worked on. I just took over the project and I'm trying to get up to speed and prioritize issues. Dirk closed issues as he was wrapping things up but this can be opened again once we start working on things.

from pickles.

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.