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 8208733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:28:37+00:00 2026-06-07T09:28:37+00:00

I have a BDD feature containing multiple scenarios. Should each scenario be completely self

  • 0

I have a BDD feature containing multiple scenarios. Should each scenario be completely self contained and runnable individually?

  • 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-07T09:28:40+00:00Added an answer on June 7, 2026 at 9:28 am

    Should be, yes. It is generally good practise in all forms of TDD (BDD included) to make sure that each “test” can run independently, and isn’t coupled with or have a dependency on another test having been run first. This will help avoid creating a brittle test suite (i.e. one that is prone to breaking).

    That’s not to say that you cannot chain readability together. For a very cheap/quick example:

    Feature: Users can register and log in
    
    
    Scenario: Should be able to register
    Given I am not registered
    When I complete the registration form
    Then I will be registered
    
    Scenario: Should be able to log in
    Given I am registered
    When I correctly sign-in with my credentials
    Then I will be logged in
    
    Scenario: Should be able to log out
    Given I am logged in
    When I sign-out
    Then I will be logged out
    

    Each scenario indicates a test that can be automated – and each should be designed behind the scenes to be able to run independently. But as a reader of the feature (say a business stakeholder) – the process is complete and they can understand the entire picture more easily.

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

Sidebar

Related Questions

If you have a set of BDD scenarios like: User should be able to
I am relatively new to BDD and I have a question regarding scenario outlines.
I have started to use MSpec for BDD, and since long ago I use
I have been using Jasmine to write BDD tests for a web app. I
Possible Duplicate: SpecFlow/BDD for Unit Tests? Over the last few years I have worked
Do you need something like Fitnesse , if you have BDD tests?
I'm new to BDD and after reading through a few sources have got the
I'm running what should be a basic BDD demonstration using Cucumber and Aruba on
I have been recently introduced to the concept of BDD and am using SpecFlow
I'm using the Jasmine BDD Javascript library and really enjoying it. I have test

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.