Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9289249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T20:07:52+00:00 2026-06-18T20:07:52+00:00

Is there a way to mark a Specflow test with an Explicit attribute? I

  • 0

Is there a way to mark a Specflow test with an “Explicit” attribute? I am aware that a test can be marked with the “Ignore” attribute via the use of the special tag @ignore.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T20:07:53+00:00Added an answer on June 18, 2026 at 8:07 pm

    Maybe.

    If you look at the generated xxx.feature.cs, you will see that it is defined as

    public partial class xxx{...
    

    So you can add another file to your project xxx.partial.cs that contains the other part of your partial definition.

    And that’s the end of what I know, now for you might be able to do.

    In theory you could use the partial class definition and modify it, to make it abstract. Then you could add a derived class where you override the test in question, this would have to be a new as we can’t use virtual in the xxx, and add your [Explicit] there.

    I have no idea if this will work. You could have all sorts of issues with the abstract not taking, or the test attributes disappearing on the derived class, etc. But maybe it might get you going.

    P.S. I’m also not sure this is anything near to good practice. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to mark a fitnesse test such that it will not
Is there a way to mark a string such that it will not trigger
Is there a way I can mark a public method as not callable from
Is there a way to mark a file in Git such that a git
Is there a way to mark certain parts of code so that they don't
In JUnit you can use @Ignore before methods to tell the test runner to
I see that Mongoid supports read-only attributes. Is there a way to mark an
Is there a way to mark an auto-generated class as ExcludeFromCodeCoverage. I am using
Is there a way to mark issues with different options than the default Bug\Feature\Support
Is there a way to somehow mark Types I do not control as Obsolete?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.