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

  • Home
  • SEARCH
  • 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 8954439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:19:15+00:00 2026-06-15T14:19:15+00:00

I am looking for some background information that shines light on the difference between

  • 0

I am looking for some background information that shines light on the difference between a feature and a scenario.

Say, I have a file use_administration.feature

Feature: Use administration area

  So that I can administrate the application
  As an administrator
  I can visit the administration area

  Scenario: Get a login form
    Given I am not logged in
    When I visit the administration dashboard
    Then I should see a login-form

  Scenario: Access the Dashboard
    Given I am not logged in
    And there is a user "admin@example.com" with password "password"
    When I log in with username "admin@example.com" and password "password"
    Then I should see a dashboard

I would consider these Scenario’s pretty well-defined.

However, when looking at another Feature, the problem gets clearer

Feature: Manage campings

  So that a writer can manage her campings
  As a logged in writer
  I want to update and delete campings

  Scenario: Logged in writer can create a new camping
    Given I am administrator
    And no campings on the campings listing
    When I create a Camping named "Beautifull Green"
    And I visit the "Campings" administration page
    Then I should see a camping "Beautifull Green"

  Scenario: Logged in writer sees own campings dashboard
    Given I am administrator
    And I have a camping "Beautifull Green"
    When I visit the administration dashboard
    Then I should see a panel titled "My Campings"
    Then I should see camping "Beautifull Green"

  Scenario: Logged in writer can update campings
    Given I am administrator
    And I have a camping "Beautifull Green"
    When I visit the update page for "Beautifull Green"
    And I update the name to "updated!"
    And I visit the "Campings" administration page
    Then I should see a camping "updated!"

  Scenario: Logged in writer can update camping from dashboard
    Given I am administrator
    And I have a camping "Beautifull Green"
    When I visit the administration dashboard
    Then I should see the "edit"-link for "Beautifull Green"

A lot of these scenario’s overlap, and as such should probably have been Features’s on their own. Note that the overlap is covered with shared steps mostly. Yet still there is a lot of repetition.

My main question is: when is something a feature, when is it a scenario. Any rules of thumb?
Are there good practices as to how many Scenario’s a Feature should contain? Or am I completely misunderstanding this whole topic?

  • 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-15T14:19:16+00:00Added an answer on June 15, 2026 at 2:19 pm

    In my opinion this is all about organization skill in real life. If you can describe scenarios clearly in plain English, that’s enough.

    Let’s check your second feature. There are many problems.

    1. What is the user role? Writer or Administrator? You mentioned both of them in one feature. That’s unacceptable.

    2. There is problem in description format. It’s not right English. It should be:

      In order to keep my campaigns up to date
      As a logged in writer
      I want to manage my campaigns
      

      or

      As a logged in writer
      I want to manage my campaigns
      So that I can keep my campaigns up to date
      

      Some notes here

      • You mentioned CRUD in Scenarios but the previous description is for update and delete only.
      • “manage campaign” is not business goal, it’s activity. So I use “keep my campaigns up to date” to replace that.
    3. There is overlap of “Given I am administrator” and “And I have a camping ‘Beautifull Green'” in Scenarios. That’s unnecessary. You should use Background to describe that. For example:

      Background:
        Given I have logged in as an Administrator
        And I have a camping "Beautifull Green"
      

      These will save you all of the duplicate. If you want to test Create, just use another name instead, same “Nice Red”.

    4. The Scenarios titles are too long. No need subject. You’ve already described the user and background before. The titles can be:

      Scenario: Create new campaign
        # description here
      Scenario: Update campaign
        # .....
      

    Hope these help.

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

Sidebar

Related Questions

I have some CSS in a ClientBundle that uses a background url. Since I
I'm looking for some information about the roll-out of a python project that uses
Background info: I have some WCF services that are hosted on an internal server
Problem Hey folks. I'm looking for some advice on python performance. Some background on
Looking for some guidance on a WCF service I’m prototyping. I have a WCF
looking for some help with images referenced within the stylesheet. I have no problems
Background I have a few scripts that run as part of my build process
Some background information, you can skip this part for the actual question this is
For a little background information, I've got an application that's running in a loop,
Okay, here is what I have going on. Some background: I'm making changes to

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.