Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Acceptance Brainstorming

Mike Larsson edited this page Aug 5, 2013 · 17 revisions

Just throwing out some ideas for potential Backpack acceptance tests as a straw man:

# Does this need to cover the single-site earner too?
Feature: Send to Backpack
  In order to export my badges to a common place where I can do interesting things with them,
  As a badge earner on multiple different sites,
  I want those sites to offer me a Send to Backpack option.

  Scenario: Earned a badge and has a Backpack
    Given I have earned a badge as x@stenington.org
    And I have a Backpack account as x@stenington.org
    When I click the **Add to Backpack** button
    # Are the `And`s following useful to include?
    And log in to my Backpack
    And accept all conditions/prompts presented to me
    Then I should see my badge in my Backpack

  Scenario: Earned a badge, have a different Backpack
    Given I have earned a badge as x@stenington.org
    And I have a Backpack account as y@stenington.org
    When I click the **Add to Backpack** button
    # ??? Ideally we'd have multi-account Backpacks, but is it worth testing what *does* happen instead?
Clone this wiki locally