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

feat: enable cucumber tags for cli run command #90

Merged
merged 5 commits into from
Nov 3, 2020

Conversation

jenniferarnesen
Copy link
Contributor

With this we can do the following:

npx d2-utils-cypress run --tags "@highlighting and not @skip"

It's worth mentioning that both features and scenarios can be highlighted.
With the following feature file, only the first scenario will be tested.
All other feature files and the scenarios in this feature file will be ignored:

@highlighting
Feature: Options can be highlighted

    Scenario: An option is highlighted
        # steps....

    @skip
    Scenario: An option is not highlighted
        # steps....

@jenniferarnesen jenniferarnesen changed the title feat: enable Cucumber tags for cli run command feat: enable cucumber tags for cli run command Nov 3, 2020
@Mohammer5 Mohammer5 self-requested a review November 3, 2020 14:00
@jenniferarnesen jenniferarnesen merged commit 9132626 into master Nov 3, 2020
@jenniferarnesen jenniferarnesen deleted the feat/cucumber-tags branch November 3, 2020 14:05
dhis2-bot added a commit that referenced this pull request Nov 3, 2020
# [3.1.0](v3.0.3...v3.1.0) (2020-11-03)

### Features

* enable cucumber tags for cli run command ([#90](#90)) ([9132626](9132626))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

varl pushed a commit that referenced this pull request Nov 6, 2020
Can be used as follows:

`npx d2-utils-cypress run --tags "@highlighting and not @Skip"`

It's worth mentioning that both features and scenarios can be highlighted.
With the following feature file, only the first scenario will be tested.
All other feature files and the scenarios in this feature file will be ignored:

```
@highlighting
Feature: Options can be highlighted

    Scenario: An option is highlighted
        # steps....

    @Skip
    Scenario: An option is not highlighted
        # steps....
```
varl pushed a commit that referenced this pull request Nov 6, 2020
# [3.1.0](v3.0.3...v3.1.0) (2020-11-03)

### Features

* enable cucumber tags for cli run command ([#90](#90)) ([9132626](9132626))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants