Skip to content

Instantly share code, notes, and snippets.

@sebs
Created October 21, 2018 11:31
Show Gist options
  • Save sebs/f64f32d5a513f3f8b14bdfe2313a8872 to your computer and use it in GitHub Desktop.
Save sebs/f64f32d5a513f3f8b14bdfe2313a8872 to your computer and use it in GitHub Desktop.
Feature: Persons
Scenario: A Person is member of a party
Given Angela Merkel is added to Persons
Then AngelaMerkel should have "CDU" set as party
Scenario: A Person has a website
Given Angela Merkel is added to Persons
Then Angela Merkel should have "https://angela-merkel.de/" set as website
And then Urls hould contain "https://angela-merkel.de/"
Scenario: A Person has name Information
Given Angela Merkel is added to Persons
Then Angela Merkel should have "Angela" as firstname
And then Angela Merkel should have "Merkel" as lastname
Feature: Parties
Scenario: A Party has name Information
Given all parties loaded
Then all entries have a name defined
And then all entries have a shortname defined
Scenario: All Parties from Bundestag #19 Stored
Given all parties loaded
then the Parties shortnames should contain "SPD"
And then the Parties shortnames should contain "DIELINKE"
And then the Parties shortnames should contain "GRÜNE"
And then the Parties shortnames should contain "FDP"
And then the Parties shortnames should contain "CDU"
And then the Parties shortnames should contain "CSU"
And then the Parties shortnames should contain "AFD"
And then the Parties shortnames should contain "PARTEILOS"
Feature: Urls
Scenario: Each link is unique
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment