diff --git a/specification/assets/gherkin/tracking.feature b/specification/assets/gherkin/tracking.feature new file mode 100644 index 00000000..759bac2e --- /dev/null +++ b/specification/assets/gherkin/tracking.feature @@ -0,0 +1,22 @@ +Feature: Tracking + +# This test suite contains scenarios to test the tracking API. + + Background: + Given a provider is registered + + Scenario Outline: Invalid event names + When an event was tracked with tracking event name + Then nothing should have been tracked + And the tracking operation shall error + Examples: Basic + | event_name | + | "" | + | "NULL" | + + Scenario Outline: Provider's track functionality is called + When an event was tracked with tracking event name + Then the tracking provider should have been called with event name + Examples: Basic + | event_name | + | "the-event" |