Skip to main content

Scope Attribute - Multiple features with similar scenario names

Comments

4 comments

  • Mandviwala, Abdeali

    I have long list of feature files with different "Feature" names. So it will be a long list if I give them on the class as attributes.

    0
  • Mandviwala, Abdeali

    If anyone has any idea to address this issue, plz let me know. I am blocked on this currently.

    0
  • Andreas Willich

    Don't use scoping on that level! They are intended for use very rarely.

    It is a bad smell if steps are doing different things in different feature files or different scenarios.

    Please check out our SpecFlow Masterclass at https://specflow.org/school/bdd-masterclass/

    On Day 2 Gaspar is talking about this topic and how to use it.

     

    0
  • Mandviwala, Abdeali

    There are no chances of doing any base level modification in the code as there are lot of feature files already written and infrastructure is in place from quite a long time.

    I am looking for a solution to my problem that without use of scope how can I make my test cases as well as the external assembly's test cases work.

    0

Please sign in to leave a comment.

Powered by Zendesk