Cucumber Ltd / cucumber-pro

License summaryfeatures/billing/license_summary.feature

Release Dasher II (patch 1) (2018-12-13)

Romain Gérard

Currently viewing

Feature: License summary

The License Summary is where to go when you want to understand how you are being charged for using Cucumber Pro

Rule:

  • People can create multiple licenses if they want
  • People become license members when they join a project
  • All projects on the SaaS must have a license
  • A license is either metered or pre-paid
  • Members are only billable if they have joined a private project (on the SaaS)

Deferred:

  • Adding and removing license administrators
  • We don't need to consider the UI for creating an additional license
  • For now, applicances don't have licenses

Background:

  • Given Jo has created these metered SaaS licenses:
    Name
    Tomato
    Zappas
  • And Jo has created the following projects:
    NamePrivateLicense
    tomato-oss-projectNoTomato
    alpha-projectYesZappas
    beta-projectYesZappas
  • And Lucy has accepted Jo's invitations to collaborate on:
    alpha-project
    beta-project
  • And Marcus has accepted Jo's invitation to collaborate on beta-project

Scenario: Jo views a license page with private projects

Scenario: Jo views a license page with public projects

  • Then Jo should see this license member on the Tomato license summary:
    EmailProjectsBillable
    [email protected]tomato-oss-projectNo

Scenario: A collaborator is removed

Scenario: A project is removed

  • When Jo deletes beta-project
  • Then Jo should see these license members on the Zappas license summary:
    EmailProjectsBillable
    [email protected]alpha-projectYes
    [email protected]alpha-projectYes