Skip to content

How to add multiple features in local.feature #10

Open

Description

@sammyqa

How do we add multiple features inside one feature file? I am using the local.feature file used in the example repository, but I cannot find a way to add multiple features in local.feature. Any way to do this?

Thanks.

Activity

  1. shawnlobo96 commented on Aug 12, 2021

    @shawnlobo96

    @sammyqa you can read https://stackoverflow.com/questions/30599752/multiple-feature-inside-single-feature-file

    This answer in particular: https://stackoverflow.com/a/30622910/5987345

    This is not something that is specific to BrowserStack. But something that may not be possible locally as well.

  2. sammyqa commented on Aug 12, 2021

    @sammyqa
    Author

    I know Gherkin does not allow you to put multiple features in 1 feature file, but there is no browserstack-behave documentation for testing multiple feature files sequentially with browserstack. There is only one feature file in the example repository: local.feature, which contains 1 feature. I am trying to test multiple features, feature1.feature, feature2.feature, etc. How do I do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions