Skip to content

Instantly share code, notes, and snippets.

@HowardvanRooijen
Created February 23, 2015 22:17
Show Gist options
  • Save HowardvanRooijen/4026ee0a3b21666cca08 to your computer and use it in GitHub Desktop.
Save HowardvanRooijen/4026ee0a3b21666cca08 to your computer and use it in GitHub Desktop.
First Validate a License Scenario
Feature: Validate License
In order to allow users to only use my software with a valid license
As a software provider
I want to be able to validate the license based on its criteria
Scenario: Validate a 'Subscription' License that was issued today
Given they want a 'Subscription' license
And their license was issued today
And I generate their license
When they validate their license
Then it should be a valid license
And it should have been issued today
And it should expire on the last day of this month
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment