Comments (12)
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.
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.
The community came back with this feature request: https://pickles.uservoice.com/forums/232147-general/suggestions/9796998-support-filtering-by-tags
from pickles.
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.
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.
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.
@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.
@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.
I'll be happy to review any pull requests you may send my way ;-)
from pickles.
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.
What's the status on this feature? I'd need it.
from pickles.
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)
- Support Pickles for use in .NET Core / .NET 5.0 scenario's HOT 8
- hiding and excluding tags does not work for me
- pickles returns non-zero exit code on success or without error messages
- Pickles generates extra columns for scenario tables in HTML mode HOT 5
- Support markdown as output HOT 2
- Pickles loses indentation in Docstrings HOT 1
- Generated Cucumber JSON missing the uri property HOT 3
- Support for Gherkin 6 HOT 2
- Pickles parsing error on root Pickles_FeatureDirectory
- Pickles did not complete successfully Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
- Error in update Pickles from 2.2.1 to 3.0.1 HOT 1
- Cannot upgrade .Net 4.8 project to 3.0.1 HOT 4
- Cannot install Pickles.CommandLine v4 HOT 1
- Pickles did not complete successfully Could not find a part of the path '/dev/fd/102'. HOT 4
- When running Pickles 3.0.1 the output version is always v.0.0.0.0 HOT 1
- "dotnet tool install --global Pickles.CommandLine --version 4.0.1" throws error "Settings file 'DotnetToolSettings.xml' was not found in the package" HOT 1
- Error when specifying xunit results file
- Pickles generates upercase status entries in cucumber.json instead of all lower case HOT 1
- Generated Cucumber Json is missing description entries
- Looking for a new maintainer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pickles.