Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExcludeTags is a list of tags to exclude + StopOnParsingError option #441

Closed
wants to merge 3 commits into from
Closed

Conversation

pleveill
Copy link

@pleveill pleveill commented Mar 6, 2017

  • transform ExcludeTags from unique tags to a list of tags to exclude
  • Add option StopOnParsingError on gerkins parsing error (due to syntax error ...) to all runners. Default values is false.

These two new feature are needed to generate doc on a big tree of feature (from a subcontractor) that is progressively included into a csproj each time a new feature is ok (syntax ...)

@dirkrombauts
Copy link
Member

Thanks for taking the time to contribute to Pickles. I will not merge this pull request, for a couple of reasons:

  • It does too much. You work on ExcludeTags and you add StopOnParsingError. Please send separate pull requests for separate features. Git branches will help you to keep the work separate.
  • ExcludeTags should support expressions, as described in Idea: Exclude Scenarios or Features by tags #18
  • I am not convinced of the need of StopOnParsingError. Why do you need it?

@pleveill
Copy link
Author

pleveill commented Mar 8, 2017 via email

@dirkrombauts
Copy link
Member

I agree that it would be better to have a report about all malformed .feature files instead of stopping at the first "bad" one. But Pickles should still return with an error code at the end of the run, so that people who rely on pickles returning an error in their scripts can continue to do so. If you can send me a pull request that does that, I will review it.

About the Exclude tags: yes, it's a big task. But how about this: you basically wrote code that takes a couple of tags, separated by ; and treat them as OR. So what if you adapt your code to use OR as a separator instead of ;? That would bring us one step forward.

You also did a bit of code to include ExcludeTags in the MSBuild version, right? could you send that code as a separate pull request please?

@pleveill
Copy link
Author

pleveill commented Mar 8, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants