Skip to content

Instantly share code, notes, and snippets.

Feature: Search tracks for a specific music style
Rule: the returned tracks must correspond to the music style
Example: A listener requests an unknown music style
Given a listener
And the music library is composed of classical, rock tracks
When the listener requests tracks for the funk music style
Then the listener is notified that there are no tracks available for the funk style
Feature: Search tracks for a specific music style
Scenario: A listener requests an unknown music style
Given a listener
And the music library is composed of classical, rock tracks
When the listener requests tracks for the funk music style
Then the listener is notified that there are no tracks available for the funk style
Scenario: A listener requests a music style belonging to the music library